Update LanguageClient-neovim

StarryLeo 2019-04-17 00:27:05 +08:00 committed by Fangrui Song
parent f8ba7c598f
commit bdb5f6be01

@ -35,7 +35,7 @@ let g:LanguageClient_serverCommands = {
let g:LanguageClient_loadSettings = 1 " Use an absolute configuration path if you want system-wide settings
let g:LanguageClient_settingsPath = '/home/YOUR_USERNAME/.config/nvim/settings.json'
" https://github.com/autozimu/LanguageClient-neovim/issues/379 LSP snippet is not supported
let g:LanguageClient_hasSnippetSupport = 0
"let g:LanguageClient_hasSnippetSupport = 0
```
First example:
@ -67,7 +67,7 @@ augroup LanguageClient_config
au User LanguageClientStarted setl signcolumn=yes
au User LanguageClientStarted let b:Plugin_LanguageClient_started = 1
au User LanguageClientStopped setl signcolumn=auto
au User LanguageClientStopped let b:Plugin_LanguageClient_stopped = 0
au User LanguageClientStopped let b:Plugin_LanguageClient_started = 0
au CursorMoved * if b:Plugin_LanguageClient_started | sil call LanguageClient#textDocument_documentHighlight() | endif
augroup END
```