mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
24 lines
841 B
VimL
24 lines
841 B
VimL
" Vim syntax file
|
|
" Language: lsp_markdown
|
|
" Maintainer: Michael Lingelbach <m.j.lbach@gmail.com
|
|
" URL: http://neovim.io
|
|
" Remark: Uses markdown syntax file
|
|
|
|
" always source the system included markdown instead of any other installed
|
|
" markdown.vim syntax files
|
|
execute 'source' expand('<sfile>:p:h') .. '/markdown.vim'
|
|
|
|
syn cluster mkdNonListItem add=mkdEscape,mkdNbsp
|
|
|
|
syn clear markdownEscape
|
|
syntax region markdownEscape matchgroup=markdownEscape start=/\\\ze[\\\x60*{}\[\]()#+\-,.!_>~|"$%&'\/:;<=?@^ ]/ end=/./ containedin=ALL keepend oneline concealends
|
|
|
|
" conceal html entities
|
|
syntax match mkdNbsp / / conceal cchar=
|
|
syntax match mkdLt /</ conceal cchar=<
|
|
syntax match mkdGt />/ conceal cchar=>
|
|
syntax match mkdAmp /&/ conceal cchar=&
|
|
syntax match mkdQuot /"/ conceal cchar="
|
|
|
|
hi def link mkdEscape special
|