Skip to content

Commit 09b765a

Browse files
committed
pandocYAMLHeader must use keepend ...
if matchgroup is not used
1 parent 8f59cc8 commit 09b765a

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 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}$/ keepend contains=@YAML containedin=TOP
463463
"}}}
464464
"}}}1
465465

0 commit comments

Comments
 (0)