mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-08 18:34:45 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user