Merge pull request #14482 from elianiva/lsp/remove_hover_line

feat(lsp): hide triple - in hover window
This commit is contained in:
Michael Lingelbach 2021-06-14 15:03:25 -07:00 committed by GitHub
commit b28d458f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,12 @@
" markdown.vim syntax files " markdown.vim syntax files
execute 'source' expand('<sfile>:p:h') .. '/markdown.vim' execute 'source' expand('<sfile>:p:h') .. '/markdown.vim'
syn cluster mkdNonListItem add=mkdEscape,mkdNbsp syn cluster mkdNonListItem add=mkdEscape,mkdNbsp,mkdLine
syntax region mkdEscape matchgroup=mkdEscape start=/\\\ze[\\\x60*{}\[\]()#+\-,.!_>~|"$%&'\/:;<=?@^ ]/ end=/.\zs/ keepend contains=mkdEscapeCh oneline concealends syntax region mkdEscape matchgroup=mkdEscape start=/\\\ze[\\\x60*{}\[\]()#+\-,.!_>~|"$%&'\/:;<=?@^ ]/ end=/.\zs/ keepend contains=mkdEscapeCh oneline concealends
syntax match mkdEscapeCh /./ contained syntax match mkdEscapeCh /./ contained
syntax match mkdNbsp /&nbsp;/ conceal cchar= syntax match mkdNbsp /&nbsp;/ conceal cchar=
syntax match mkdLine /---/ conceal cchar=
syntax match markdownH2 "" contained
hi def link mkdEscape special hi def link mkdEscape special