summaryrefslogtreecommitdiff
path: root/_config
diff options
context:
space:
mode:
authorNaoaki Ueda <n.ueda@socialdog.jp>2023-01-25 18:04:24 +0900
committerNaoaki Ueda <n.ueda@socialdog.jp>2023-01-25 18:04:24 +0900
commit53cacce0f48140fbc8ab990eebc930b12317133c (patch)
tree62b190909f59a9b41ec1a055bddcd62da91f3504 /_config
parentfea10fd6f2ca1a11cdf2909ec349bdc60f0cda67 (diff)
downloadvimrc-53cacce0f48140fbc8ab990eebc930b12317133c.tar.gz
vimrc-53cacce0f48140fbc8ab990eebc930b12317133c.tar.bz2
vimrc-53cacce0f48140fbc8ab990eebc930b12317133c.zip
Change settings of vim-lsp for diagnostics
Diffstat (limited to '_config')
-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