vim-pandoc / vim-pandoc-legacy

[UNSUPPORTED/use vim-pandoc/vim-pandoc] vim bundle for pandoc users
143 stars 23 forks source link

wrong YAML syntax include #105

Open towolf opened 10 years ago

towolf commented 10 years ago

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 
fmoralesc commented 10 years ago

Depends on what yaml.vim version you use, I guess. We tested with one that (mistakenly) lives at colors instead of syntax.