modular plugin settings, coc integration

This commit is contained in:
ManjaroOne666 2019-04-20 11:57:27 +01:00
parent 4f3d7d5aa5
commit 64ac6ce55e
2 changed files with 27 additions and 9 deletions

View File

@ -1,5 +1,23 @@
{ {
"coc.preferences.autoTrigger": "always", "suggest.triggerAfterInsertEnter": false,
"coc.preferences.timeout": 200, "suggest.autoTrigger": "none",
"coc.preferences.triggerAfterInsertEnter": false "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"
]
} }

View File

@ -1,15 +1,15 @@
set runtimepath^=~/.config/vim runtimepath+=~/.config/vim/after set runtimepath^=~/.config/vim runtimepath+=~/.config/vim/after
let &packpath = &runtimepath 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 source ~/.config/vim/vimrc
" set ruby program to global one. Need to investigate if this will cause " 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. " 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' 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: