fix: needing to send indentation instructions multiple times issue

This commit is contained in:
yemai
2019-08-24 09:25:45 +08:00
parent 273c1438f6
commit 60c763aeae

View File

@@ -140,8 +140,10 @@ syntax match htmlArg '\v<data(-[.a-z0-9]+)+>' containedin=@HTMLSyntax
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax region htmlVueTemplate syntax region htmlVueTemplate
\ start=+<template\(\s.\{-}\)\?>+ \ start=+<template\(\s.\{-}\)\?>+
\ end=+^</template>+ \ end=+</template>\ze\n\(^$\n\)*<script>+
\ keepend contains=@HTMLSyntax \ keepend
\ contains=@HTMLSyntax
syntax region pugVueTemplate syntax region pugVueTemplate
\ start=+<template lang="pug"\(\s.\{-}\)\?>+ \ start=+<template lang="pug"\(\s.\{-}\)\?>+
\ end=+</template>+ \ end=+</template>+