mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-07 21:24:50 +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
|
||||
\ start=+<template\(\s.\{-}\)\?>+
|
||||
\ end=+^</template>+
|
||||
\ keepend contains=@HTMLSyntax
|
||||
\ end=+</template>\ze\n\(^$\n\)*<script>+
|
||||
\ keepend
|
||||
\ contains=@HTMLSyntax
|
||||
|
||||
syntax region pugVueTemplate
|
||||
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
||||
\ end=+</template>+
|
||||
|
||||
Reference in New Issue
Block a user