mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-14 08:27:06 +08:00
fix: remove '^' in vueTemplate end match regex
This commit is contained in:
@@ -110,7 +110,7 @@ endif
|
|||||||
" Find tag <template> / <script> / <style> and enable currespond syntax
|
" Find tag <template> / <script> / <style> and enable currespond syntax
|
||||||
syn region vueTemplate
|
syn region vueTemplate
|
||||||
\ start=+<template\(\s.\{-}\)\?>+
|
\ start=+<template\(\s.\{-}\)\?>+
|
||||||
\ end=+^</template>+
|
\ end=+</template>+
|
||||||
\ keepend contains=@HTMLSyntax
|
\ keepend contains=@HTMLSyntax
|
||||||
syn region vueTemplatePug
|
syn region vueTemplatePug
|
||||||
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
||||||
|
|||||||
Reference in New Issue
Block a user