vim-pandoc-legacy
vim-pandoc-legacy copied to clipboard
wrong YAML syntax include
Shouldn't that look like this?
diff --git a/syntax/pandoc.vim b/syntax/pandoc.vim
index 4dde4e4..9de62a2 100644
--- a/syntax/pandoc.vim
+++ b/syntax/pandoc.vim
@@ -356,7 +356,7 @@ endif
try
unlet b:current_syntax
- syn include @YAML colors/yaml.vim
+ syn include @YAML syntax/yaml.vim
catch /E484/
endtry
syn region pandocYAMLHeader matchgroup=Delimiter start=/\%^\-\-\-/ end=/[\-|\.]\{3}/ contains=@YAML
Depends on what yaml.vim version you use, I guess. We tested with one that (mistakenly) lives at colors
instead of syntax
.