@@ -65,6 +65,7 @@ lsp client config example with coc.nvim
6565 " module" : " /path/to/vim-language-server/bin/index.js" ,
6666 " args" : [" --node-ipc" ],
6767 " initializationOptions" : {
68+ " isNeovim" : true , // is neovim, default false
6869 " iskeyword" : " @,48-57,_,192-255,-#" , // vim iskeyword option
6970 " vimruntime" : " " , // $VIMRUNTIME option
7071 " runtimepath" : " " , // vim runtime path separate by `,`
@@ -95,6 +96,7 @@ lsp client config example with coc.nvim
9596 " command" : " vim-language-server" ,
9697 " args" : [" --stdio" ],
9798 " initializationOptions" : {
99+ " isNeovim" : true , // is neovim, default false
98100 " iskeyword" : " @,48-57,_,192-255,-#" , // vim iskeyword option
99101 " vimruntime" : " " , // $VIMRUNTIME option
100102 " runtimepath" : " " , // vim runtime path separate by `,`
@@ -119,6 +121,7 @@ lsp client config example with coc.nvim
119121
120122** Note** :
121123
124+ - if you set ` isNeovim: true ` , command like ` fixdel ` in vimrc which neovim does not support will report error.
122125- if you want to speed up index, change ` gap ` to smaller and ` count ` to greater, this will cause high CPU usage for some time
123126- if you don't want to index vim's runtimepath files, set ` runtimepath ` to ` false ` and you will not get any suggest from those files.
124127
0 commit comments