aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-11-06 22:41:27 +0800
committerjdhao <jdhao@hotmail.com>2020-11-06 22:41:27 +0800
commit0b80636fe372971061fabea490b56fdc305ff119 (patch)
tree148feb83a14abdf01715fd624273cf1c0431db76
parent94561247a95f8818a17401a624e05b790b5b5c71 (diff)
update vim-lsp settings
-rw-r--r--core/plugins.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 52799a1..3f1d769 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -352,10 +352,10 @@ let g:lsp_highlights_enabled = 0
" Do not use virtual text, they are far too obstrusive.
let g:lsp_virtual_text_enabled = 0
-" echo a diagnostic message at cursor position
-let g:lsp_diagnostics_echo_cursor = 0
-" show diagnostic in floating window
-let g:lsp_diagnostics_float_cursor = 1
+" 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