mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-21 13:27:05 +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>+
|
\ end=+</template>\ze\n\(^$\n\)*<script>+
|
||||||
\ keepend
|
\ keepend
|
||||||
\ contains=@HTMLSyntax
|
\ contains=@HTMLSyntax
|
||||||
|
syntax region htmlVueTemplate
|
||||||
|
\ start=+<template\(\s.\{-}\)\?>+
|
||||||
|
\ end=+^</template>+
|
||||||
|
\ keepend
|
||||||
|
\ contains=@HTMLSyntax
|
||||||
|
|
||||||
syntax region pugVueTemplate
|
syntax region pugVueTemplate
|
||||||
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
||||||
|
|||||||
Reference in new issue
Block a user