2021-03-06 21:04:03 -07:00
|
|
|
" Vim syntax file
|
|
|
|
" Language: lsp_markdown
|
|
|
|
" Maintainer: Michael Lingelbach <m.j.lbach@gmail.com
|
|
|
|
" URL: http://neovim.io
|
|
|
|
" Remark: Uses markdown syntax file
|
|
|
|
|
2021-05-26 14:47:53 -07:00
|
|
|
" always source the system included markdown instead of any other installed
|
|
|
|
" markdown.vim syntax files
|
|
|
|
execute 'source' expand('<sfile>:p:h') .. '/markdown.vim'
|
2021-03-06 21:04:03 -07:00
|
|
|
|
2021-06-14 15:41:07 -07:00
|
|
|
syn cluster mkdNonListItem add=mkdEscape,mkdNbsp
|
2021-03-06 21:04:03 -07:00
|
|
|
|
2021-03-15 22:58:54 -07:00
|
|
|
syntax region mkdEscape matchgroup=mkdEscape start=/\\\ze[\\\x60*{}\[\]()#+\-,.!_>~|"$%&'\/:;<=?@^ ]/ end=/.\zs/ keepend contains=mkdEscapeCh oneline concealends
|
2021-03-06 21:04:03 -07:00
|
|
|
syntax match mkdEscapeCh /./ contained
|
|
|
|
syntax match mkdNbsp / / conceal cchar=
|
|
|
|
|
|
|
|
hi def link mkdEscape special
|