Skip to content

Commit 24afcc7

Browse files
committed
why colors/ instead syntax?
this fix brings rich YAML highlights inside YAML blocks
1 parent 0e1f9af commit 24afcc7

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
@@ -456,7 +456,7 @@ endif
456456

457457
try
458458
unlet! b:current_syntax
459-
syn include @YAML colors/yaml.vim
459+
syn include @YAML syntax/yaml.vim
460460
catch /E484/
461461
endtry
462462
syn region pandocYAMLHeader matchgroup=Delimiter start=/\%(\%^\|\_^\s*\n\)\@<=\_^-\{3}\ze\n.\+/ end=/^\([-.]\)\1\{2}$/ contains=@YAML containedin=TOP

0 commit comments

Comments
 (0)