From 64ac6ce55e186a35e9fbcb5df05615929f46a52b Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sat, 20 Apr 2019 11:57:27 +0100 Subject: [PATCH] modular plugin settings, coc integration --- coc-settings.json | 24 +++++++++++++++++++++--- init.vim | 12 ++++++------ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/coc-settings.json b/coc-settings.json index 7d23ad5..19ecc4b 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -1,5 +1,23 @@ { - "coc.preferences.autoTrigger": "always", - "coc.preferences.timeout": 200, - "coc.preferences.triggerAfterInsertEnter": false + "suggest.triggerAfterInsertEnter": false, + "suggest.autoTrigger": "none", + "suggest.noselect": true, + "suggest.snippetIndicator": "►", + "suggest.timeout": 1000, + "suggest.echodocSupport": true, + "signature.enable": true, + "coc.preferences.triggerSignatureHelp": true, + "diagnostic.enable": true, + "diagnostic.warningSign": "λ", + "diagnostic.errorSign": "Λ", + "diagnostic.infoSign": "λ", + "diagnostic.hintSign": "λ", + "coc.source.buffer.ignoreGitignore": true, + "javascript.suggestionActions.enabled": false, + "eslint.enable": true, + "eslint.trace.server": "verbose", + "eslint.filetypes": [ + "javascript", + "vue" + ] } diff --git a/init.vim b/init.vim index 53c3dfe..1a70129 100644 --- a/init.vim +++ b/init.vim @@ -1,15 +1,15 @@ set runtimepath^=~/.config/vim runtimepath+=~/.config/vim/after let &packpath = &runtimepath -if empty(glob('~/.config/nvim/autoload/plug.vim'))"{{{ - silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs - \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $MYVIMRC -endif -"}}} source ~/.config/vim/vimrc " set ruby program to global one. Need to investigate if this will cause " problems if I ever use ruby virtual environments or RVM or similar. let g:ruby_host_prog = '~/.gem/ruby/2.6.0/bin/neovim-ruby-host' + +set showtabline=2 +source ~/.config/vim/config/tabline.vim +source ~/.config/vim/config/statusline.vim + +" vim: set foldmethod=marker: