LSP - Tweaked references style
This commit is contained in:
parent
4bf3c29e5e
commit
5548e91916
2 changed files with 5 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
NeoBundle "neomake/neomake"
|
NeoBundle 'neomake/neomake'
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
|
" Highlight references
|
||||||
let g:lsp_highlight_references_enabled = 1
|
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_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_signs_error = {'text': '✗'}
|
||||||
let g:lsp_signs_warning = {'text': '‼'}
|
let g:lsp_signs_warning = {'text': '‼'}
|
||||||
|
|
||||||
|
" Keyboard shortcuts
|
||||||
noremap <Leader>df :LspDocumentFormat<cr>
|
noremap <Leader>df :LspDocumentFormat<cr>
|
||||||
vnoremap <Leader>df :LspDocumentRangeFormat<cr>
|
vnoremap <Leader>df :LspDocumentRangeFormat<cr>
|
||||||
noremap <Leader>dr :LspReferences<cr>
|
noremap <Leader>dr :LspReferences<cr>
|
||||||
|
|
Loading…
Reference in a new issue