From 5548e91916c52dadbb7682c46626945ea582c788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Fri, 4 Dec 2020 23:54:53 +0100 Subject: [PATCH] LSP - Tweaked references style --- bundles-init/neomake.load.vim | 2 +- bundles-init/vim-lsp.cfg.vim | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bundles-init/neomake.load.vim b/bundles-init/neomake.load.vim index 4387390..5dcdd51 100644 --- a/bundles-init/neomake.load.vim +++ b/bundles-init/neomake.load.vim @@ -1 +1 @@ -NeoBundle "neomake/neomake" +NeoBundle 'neomake/neomake' diff --git a/bundles-init/vim-lsp.cfg.vim b/bundles-init/vim-lsp.cfg.vim index 56c3aff..9490fba 100644 --- a/bundles-init/vim-lsp.cfg.vim +++ b/bundles-init/vim-lsp.cfg.vim @@ -1,11 +1,14 @@ +" Highlight references let g:lsp_highlight_references_enabled = 1 -highlight lspReference ctermfg=black guifg=black ctermbg=yellow guibg=yellow +highlight lspReference cterm=bold,italic ctermfg=148 ctermbg=0 +" Error/warning signs let g:lsp_signs_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 let g:lsp_signs_error = {'text': '✗'} let g:lsp_signs_warning = {'text': '‼'} +" Keyboard shortcuts noremap df :LspDocumentFormat vnoremap df :LspDocumentRangeFormat noremap dr :LspReferences