mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 05:34:44 +08:00
fix: add syntax highlight for htmlVueTemplate
This commit is contained in:
@@ -143,6 +143,11 @@ syntax region htmlVueTemplate
|
||||
\ end=+</template>\ze\n\(^$\n\)*<script>+
|
||||
\ keepend
|
||||
\ contains=@HTMLSyntax
|
||||
syntax region htmlVueTemplate
|
||||
\ start=+<template\(\s.\{-}\)\?>+
|
||||
\ end=+^</template>+
|
||||
\ keepend
|
||||
\ contains=@HTMLSyntax
|
||||
|
||||
syntax region pugVueTemplate
|
||||
\ start=+<template lang="pug"\(\s.\{-}\)\?>+
|
||||
|
||||
Reference in New Issue
Block a user