Skip to content

Commit ebaf501

Browse files
committed
fix for yaml headers
1 parent 2ad00ca commit ebaf501

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
@@ -463,7 +463,7 @@ try
463463
syn include @YAML colors/yaml.vim
464464
catch /E484/
465465
endtry
466-
syn region pandocYAMLHeader matchgroup=Delimiter start=/\(\%^\|\(%.*\n\)\)\@<=\-\{3}\s*$/ end=/[\-|\.]\{3}\s*$/ contains=@YAML containedin=TOP
466+
syn region pandocYAMLHeader matchgroup=Delimiter start=/\(\%^\|\(\s*.*\n\)\)\@<=\-\{3}\s*$/ end=/[\-|\.]\{3}\s*$/ contains=@YAML containedin=TOP
467467
"}}}
468468

469469
" Styling: {{{1

0 commit comments

Comments
 (0)