mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
fix: HTML <template> indent
This commit is contained in:
@@ -13,7 +13,7 @@ endif
|
|||||||
se sw=2 ts=2
|
se sw=2 ts=2
|
||||||
|
|
||||||
let s:name = 'vim-vue-plugin'
|
let s:name = 'vim-vue-plugin'
|
||||||
let s:vue_tag = '\v\<\/?(template|script|style)'
|
let s:vue_tag = '\v^\<(script|style)' " let <template> be handled by HTML indent
|
||||||
let s:vue_end_tag = '\v\<\/?(script|style)'
|
let s:vue_end_tag = '\v\<\/?(script|style)'
|
||||||
let s:end_tag = '^\s*\/\?>\s*'
|
let s:end_tag = '^\s*\/\?>\s*'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user