Nicer syntax highlighting for hover (#441)

* Implement syntax highlighting for hover

* Fix signatureHelp
This commit is contained in:
Thomas Faingnaert
2019-09-08 20:26:22 +02:00
committed by Prabir Shrestha
parent 5fafaa3d72
commit d7e644c2a7
8 changed files with 91 additions and 10 deletions

View File

@@ -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'