mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 05:34:44 +08:00
fix: needing to send indentation instructions multiple times issue
This commit is contained in:
@@ -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>+
|
||||||
|
|||||||
Reference in New Issue
Block a user