1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update vim-lsp settings

Some vim-lsp config options are renamed.
This commit is contained in:
jdhao 2021-01-05 22:42:54 +08:00
parent d8e99e51f0
commit b2a16e5780

View File

@ -358,22 +358,22 @@ call deoplete#custom#option({'camel_case': v:true,})
let g:lsp_diagnostics_enabled = 1
" show diagnostic signs
let g:lsp_signs_enabled = 1
let g:lsp_signs_error = {'text': '✗'}
let g:lsp_signs_warning = {'text': '!'}
let g:lsp_highlights_enabled = 0
let g:lsp_diagnostics_signs_enabled = 1
let g:lsp_diagnostics_signs_error = {'text': '✗'}
let g:lsp_diagnostics_signs_warning = {'text': '!'}
let g:lsp_diagnostics_highlights_enabled = 0
" Do not use virtual text, they are far too obstrusive.
let g:lsp_virtual_text_enabled = 0
let g:lsp_diagnostics_virtual_text_enabled = 0
" whether to echo a diagnostic message on statusline at cursor position
let g:lsp_diagnostics_echo_cursor = 1
" Whether to show diagnostic in floating window
let g:lsp_diagnostics_float_cursor = 0
" whether to enable highlight a symbol and its references
let g:lsp_highlight_references_enabled = 1
let g:lsp_preview_max_width = 80
let g:lsp_diagnostics_float_delay = 100
let g:lsp_preview_max_width = 80
let g:lsp_work_done_progress_enabled = 1
" set up pyls for vim-lsp
if executable('pyls')
" pip install python-language-server