|
|
|
@ -75,37 +75,8 @@ let g:LanguageClient_serverCommands = {
|
|
|
|
|
" with `:grep`). |
|
|
|
|
let g:LanguageClient_selectionUI = 'location-list' |
|
|
|
|
let g:LanguageClient_diagnosticsList = 'Location' |
|
|
|
|
" Use single chars for notifications |
|
|
|
|
let g:LanguageClient_diagnosticsDisplay = { |
|
|
|
|
\ 1: { |
|
|
|
|
\ "name": "Error", |
|
|
|
|
\ "texthl": "LanguageClientError", |
|
|
|
|
\ "signText": "x", |
|
|
|
|
\ "signTexthl": "LanguageClientErrorSign", |
|
|
|
|
\ "virtualTexthl": "Error", |
|
|
|
|
\ }, |
|
|
|
|
\ 2: { |
|
|
|
|
\ "name": "Warning", |
|
|
|
|
\ "texthl": "LanguageClientWarning", |
|
|
|
|
\ "signText": "!", |
|
|
|
|
\ "signTexthl": "LanguageClientWarningSign", |
|
|
|
|
\ "virtualTexthl": "Todo", |
|
|
|
|
\ }, |
|
|
|
|
\ 3: { |
|
|
|
|
\ "name": "Information", |
|
|
|
|
\ "texthl": "LanguageClientInfo", |
|
|
|
|
\ "signText": "i", |
|
|
|
|
\ "signTexthl": "LanguageClientInfoSign", |
|
|
|
|
\ "virtualTexthl": "Todo", |
|
|
|
|
\ }, |
|
|
|
|
\ 4: { |
|
|
|
|
\ "name": "Hint", |
|
|
|
|
\ "texthl": "LanguageClientInfo", |
|
|
|
|
\ "signText": ">", |
|
|
|
|
\ "signTexthl": "LanguageClientInfoSign", |
|
|
|
|
\ "virtualTexthl": "Todo", |
|
|
|
|
\ }, |
|
|
|
|
\ } |
|
|
|
|
" No signs in the gutter |
|
|
|
|
let g:LanguageClient_diagnosticsSignsMax = 0 |
|
|
|
|
|
|
|
|
|
nnoremap <silent> <leader>] :call LanguageClient#textDocument_definition()<CR> |
|
|
|
|
nnoremap <silent> <leader>k :call LanguageClient#textDocument_hover()<CR> |
|
|
|
|