diff options
| author | jdhao <jdhao@hotmail.com> | 2021-01-05 22:42:54 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-01-05 22:42:54 +0800 |
| commit | b2a16e5780be43c9c5a7471a0723e1b3075421fc (patch) | |
| tree | 4253e9f069d46ff3394a7ec2a97ca6b8ba0037ed /core | |
| parent | d8e99e51f0b39bee65dab550001931e17f614be6 (diff) | |
update vim-lsp settings
Some vim-lsp config options are renamed.
Diffstat (limited to 'core')
| -rw-r--r-- | core/plugins.vim | 16 |
1 files 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 |
