Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5b0f69b

Browse files
committedMay 13, 2020
add support for definitions
1 parent 9b3ef0f commit 5b0f69b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎syntax/pandoc.vim

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ syn region pdcBlockQuote start=/^\s\{,3}>\s\?/ end=/[[:print:]]\(\n\s*\n\)\@=/ k
3737
syn region pdcUList start=/^>\=\s*[*=-]\ze\s*[[:print:]]$/ end=/[[:print:]]\(\n\s*\n\)\@=/ keepend
3838
syn region pdcOList start=/^(\?\(\d\+\|\l\|\#\|@.\{-}\|x\=l\=\(i\{,3}[vx]\=\)\{,3}c\{,3}\)[.)]/ end=/[[:print:]]\(\n\s*\n\)\@=/ keepend
3939

40+
" Definitions
41+
syn region pdcDefinition matchgroup=Label start=/^[[:print:]]\{1,}\ze\s*\n\~/ end=/[[:print:]]\zs\(\n\s*\n\)\@=/ keepend contains=@Spell
42+
4043
" Fenced DIVS
4144
syn region pdcFencedDiv matchgroup=Delimiter start=/^:::.*$/ end=/:::\n\s*\n/ keepend contains=@LATEX,pdcPar contains=@Spell
4245

0 commit comments

Comments
 (0)
Please sign in to comment.