Fix jade syntax in vue files

The pug package isn't ready yet so you still need to use the jade
package for vue files. We can still apply the pug syntax to the regions
This commit is contained in:
Eduardo San Martin Morote
2016-02-21 11:29:23 +01:00
parent a24c0b32e8
commit 4adfb9ba99

View File

@@ -37,6 +37,7 @@ if s:syntaxes.pug
syntax include @PUG syntax/pug.vim
unlet b:current_syntax
syntax region pug keepend start=/<template lang="[^"]*pug[^"]*">/ end="</template>" contains=@PUG fold
syntax region pug keepend start=/<template lang="[^"]*jade[^"]*">/ end="</template>" contains=@PUG fold
endif
syntax include @JS syntax/javascript.vim