mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-26 01:21:57 +00:00
Update LanguageClient-neovim
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_loadSettings = 1 " Use an absolute configuration path if you want system-wide settings
|
||||||
let g:LanguageClient_settingsPath = '/home/YOUR_USERNAME/.config/nvim/settings.json'
|
let g:LanguageClient_settingsPath = '/home/YOUR_USERNAME/.config/nvim/settings.json'
|
||||||
" https://github.com/autozimu/LanguageClient-neovim/issues/379 LSP snippet is not supported
|
" 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:
|
First example:
|
||||||
@ -67,7 +67,7 @@ augroup LanguageClient_config
|
|||||||
au User LanguageClientStarted setl signcolumn=yes
|
au User LanguageClientStarted setl signcolumn=yes
|
||||||
au User LanguageClientStarted let b:Plugin_LanguageClient_started = 1
|
au User LanguageClientStarted let b:Plugin_LanguageClient_started = 1
|
||||||
au User LanguageClientStopped setl signcolumn=auto
|
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
|
au CursorMoved * if b:Plugin_LanguageClient_started | sil call LanguageClient#textDocument_documentHighlight() | endif
|
||||||
augroup END
|
augroup END
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user