mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-16 02:51:31 +08:00
fix: add syntax highlight for htmlVueTemplate
This commit is contained in:
1 parent
60c763aeae
commit
8e8926f1c1
1 file changed
+5
@@ -143,6 +143,11 @@ syntax region htmlVueTemplate
|
||||
\ end=+</template>\ze\n\(^$\n\)*<script>+
|
||||
\ keepend
|
||||
\ contains=@HTMLSyntax
|
||||
syntax region htmlVueTemplate
|
||||
\ start=+<template\(\s.\{-}\)\?>+
|
||||
\ end=+^</template>+
|
||||
\ keepend
|
||||
\ contains=@HTMLSyntax
|
||||
|
||||
syntax region pugVueTemplate
|
||||
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
||||
|
||||
Reference in new issue
Block a user