Skip to content

wrong YAML syntax include #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
towolf opened this issue Feb 11, 2014 · 1 comment
Open

wrong YAML syntax include #105

towolf opened this issue Feb 11, 2014 · 1 comment

Comments

@towolf
Copy link

towolf commented Feb 11, 2014

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants