Skip to content

Commit 8f59cc8

Browse files
committed
let YAML highlight begin and end of a block itself
1 parent 24afcc7 commit 8f59cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/pandoc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ try
459459
syn include @YAML syntax/yaml.vim
460460
catch /E484/
461461
endtry
462-
syn region pandocYAMLHeader matchgroup=Delimiter start=/\%(\%^\|\_^\s*\n\)\@<=\_^-\{3}\ze\n.\+/ end=/^\([-.]\)\1\{2}$/ contains=@YAML containedin=TOP
462+
syn region pandocYAMLHeader start=/\%(\%^\|\_^\s*\n\)\@<=\_^-\{3}\ze\n.\+/ end=/^\([-.]\)\1\{2}$/ contains=@YAML containedin=TOP
463463
"}}}
464464
"}}}1
465465

0 commit comments

Comments
 (0)