mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
fix: add '^' back in vueTemplate end match pattern
This commit is contained in:
@@ -107,10 +107,9 @@ endif
|
|||||||
" Syntax highlight {{{
|
" Syntax highlight {{{
|
||||||
"
|
"
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" 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