mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
20 lines
738 B
VimL
20 lines
738 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,mkdLine
|
|
|
|
syntax region mkdEscape matchgroup=mkdEscape start=/\\\ze[\\\x60*{}\[\]()#+\-,.!_>~|"$%&'\/:;<=?@^ ]/ end=/.\zs/ keepend contains=mkdEscapeCh oneline concealends
|
|
syntax match mkdEscapeCh /./ contained
|
|
syntax match mkdNbsp / / conceal cchar=
|
|
syntax match mkdLine /---/ conceal cchar=
|
|
syntax match markdownH2 "" contained
|
|
|
|
hi def link mkdEscape special
|