summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config/200-lsp.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/_config/200-lsp.vim b/_config/200-lsp.vim
index 16a2751..ed0bb11 100644
--- a/_config/200-lsp.vim
+++ b/_config/200-lsp.vim
@@ -1,9 +1,13 @@
UsePlugin 'vim-lsp'
let g:lsp_diagnostics_enabled = 1
-let g:lsp_diagnostics_float_cursor = 1
+let g:lsp_diagnostics_float_cursor = 0
let g:lsp_signs_enabled = 1 " enable signs
let g:lsp_diagnostics_echo_cursor = 1 " enable echo under cursor when in normal mode
+let g:lsp_diagnostics_virtual_text_enabled = 1
+let g:lsp_diagnostics_virtual_text_align = 'right'
+let g:lsp_diagnostics_virtual_text_wrap = 'truncate'
+
" let g:lsp_ultisnips_integration = 1
" for debug
" let g:lsp_log_verbose = 1