Adjusted vim-lsp configuration
* Fix the diagnostics signs configuration * Removed that #~^\@^\[&!! virtual text, I hate it.
This commit is contained in:
parent
9014d0497e
commit
c2a928ba54
1 changed files with 6 additions and 3 deletions
|
@ -3,10 +3,13 @@ let g:lsp_highlight_references_enabled = 1
|
||||||
highlight lspReference cterm=bold,italic ctermfg=148 ctermbg=0
|
highlight lspReference cterm=bold,italic ctermfg=148 ctermbg=0
|
||||||
|
|
||||||
" Error/warning signs
|
" 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_diagnostics_echo_cursor = 1
|
||||||
let g:lsp_signs_error = {'text': '✗'}
|
let g:lsp_diagnostics_signs_error = {'text': '✗'}
|
||||||
let g:lsp_signs_warning = {'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
|
" Keyboard shortcuts
|
||||||
noremap <Leader>lR :LspRename<cr>
|
noremap <Leader>lR :LspRename<cr>
|
||||||
|
|
Loading…
Reference in a new issue