blob: 1099ba204ea7661f1ca20fc61d40442c0a887478 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
" 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
|