mirror of
https://github.com/posva/vim-vue.git
synced 2026-10-18 12:01:33 +08:00
Fix template pattern (#57)
This commit is contained in:
1 parent
81ada6a73f
commit
cdd07e6497
1 file changed
+1
-1
+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 html keepend start=/^<template\( lang=\("\|'\)[^\1]*html[^\1]*\1\)\?>/ end=/^<\/template>/ contains=@HTML fold
|
syntax region html keepend start=/^<template\_[^>]*>/ end=/^<\/template>/ contains=@HTML fold
|
||||||
|
|
||||||
if s:syntaxes.pug
|
if s:syntaxes.pug
|
||||||
syntax include @PUG syntax/pug.vim
|
syntax include @PUG syntax/pug.vim
|
||||||
|
|||||||
Reference in new issue
Block a user