fix: remove '^' in vueTemplate end match regex

This commit is contained in:
yemai
2019-06-12 12:59:15 +08:00
parent 82b6d6658d
commit c4047490fd

View File

@@ -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.\{-}\)\?>+