mirror of
https://github.com/posva/vim-vue.git
synced 2026-08-14 03:50:58 +08:00
Allow the use of <template v-if> inside of the <template>
Fix #6 It forces the user to indent the code correctly in order to detect the englobbing template tag
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ endif
|
|||||||
|
|
||||||
syntax include @HTML syntax/html.vim
|
syntax include @HTML syntax/html.vim
|
||||||
unlet b:current_syntax
|
unlet b:current_syntax
|
||||||
syntax region template keepend start=/<template>/ end="</template>" contains=@HTML fold
|
syntax region template keepend start=/^<template>/ end=/^<\/template>/ contains=@HTML fold
|
||||||
|
|
||||||
if s:syntaxes.jade
|
if s:syntaxes.jade
|
||||||
syntax include @JADE syntax/jade.vim
|
syntax include @JADE syntax/jade.vim
|
||||||
|
|||||||
Reference in New Issue
Block a user