mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-02-25 11:07:31 +08:00
fix: add syntax highlight for htmlVueTemplate
This commit is contained in:
@@ -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