fix: add '^' back in vueTemplate end match pattern

This commit is contained in:
yemai
2019-06-12 13:11:11 +08:00
parent c4047490fd
commit b98c23545b

View File

@@ -107,10 +107,9 @@ endif
" Syntax highlight {{{
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Find tag <template> / <script> / <style> and enable currespond syntax
syn region vueTemplate
\ start=+<template\(\s.\{-}\)\?>+
\ end=+</template>+
\ end=+^</template>+
\ keepend contains=@HTMLSyntax
syn region vueTemplatePug
\ start=+<template lang="pug"\(\s.\{-}\)\?>+