fix(lsp): replace --- by a line in stylize_markdown

This commit is contained in:
Folke Lemaitre
2021-06-15 00:41:07 +02:00
parent b28d458f87
commit d7d1f40d2c
2 changed files with 18 additions and 9 deletions

View File

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