mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
Nicer syntax highlighting for hover (#441)
* Implement syntax highlighting for hover * Fix signatureHelp
This commit is contained in:
committed by
Prabir Shrestha
parent
5fafaa3d72
commit
d7e644c2a7
@@ -6,6 +6,11 @@ if has('patch-8.1.1517') && g:lsp_preview_float && !has('nvim')
|
||||
else
|
||||
setlocal previewwindow buftype=nofile bufhidden=wipe noswapfile nobuflisted
|
||||
endif
|
||||
|
||||
if has('conceal') && b:lsp_do_conceal
|
||||
setlocal conceallevel=2
|
||||
endif
|
||||
|
||||
setlocal nocursorline nofoldenable nonumber norelativenumber
|
||||
|
||||
if has('syntax')
|
||||
@@ -15,4 +20,5 @@ endif
|
||||
let b:undo_ftplugin = 'setlocal pvw< bt< bh< swf< bl< cul< fen<' .
|
||||
\ (has('syntax') ? ' spell<' : '') .
|
||||
\ ' number< relativenumber<' .
|
||||
\ (has('conceal') && b:lsp_do_conceal ? ' conceallevel<' : '') .
|
||||
\ ' | unlet! g:markdown_fenced_languages'
|
||||
|
||||
Reference in New Issue
Block a user