From b2a16e5780be43c9c5a7471a0723e1b3075421fc Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 5 Jan 2021 22:42:54 +0800 Subject: [PATCH] update vim-lsp settings Some vim-lsp config options are renamed. --- core/plugins.vim | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/plugins.vim b/core/plugins.vim index 7b73aab..002eae3 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -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