From c2a928ba54632793e0b93a572278245c6a06483b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 31 Dec 2022 13:36:20 +0100 Subject: [PATCH] Adjusted vim-lsp configuration * Fix the diagnostics signs configuration * Removed that #~^\@^\[&!! virtual text, I hate it. --- bundles-init/vim-lsp.cfg.vim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bundles-init/vim-lsp.cfg.vim b/bundles-init/vim-lsp.cfg.vim index df99b13..edc6be5 100644 --- a/bundles-init/vim-lsp.cfg.vim +++ b/bundles-init/vim-lsp.cfg.vim @@ -3,10 +3,13 @@ let g:lsp_highlight_references_enabled = 1 highlight lspReference cterm=bold,italic ctermfg=148 ctermbg=0 " Error/warning signs -let g:lsp_signs_enabled = 1 +let g:lsp_diagnostics_signs_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 -let g:lsp_signs_error = {'text': '✗'} -let g:lsp_signs_warning = {'text': '‼'} +let g:lsp_diagnostics_signs_error = {'text': '✗'} +let g:lsp_diagnostics_signs_warning = {'text': '‼'} + +" "Virtual" text right in the middle of the code? hell no. +let g:lsp_diagnostics_virtual_text_enabled = 0 " Keyboard shortcuts noremap lR :LspRename