vim-pandoc-legacy icon indicating copy to clipboard operation
vim-pandoc-legacy copied to clipboard

wrong YAML syntax include

Open towolf opened this issue 11 years ago • 1 comments

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 

towolf avatar Feb 11 '14 17:02 towolf

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

fmoralesc avatar Feb 11 '14 19:02 fmoralesc