mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-02 16:33:47 +08:00
Indent correctly with template string
This commit is contained in:
1 parent
b76a07346d
commit
f591da8f5e
1 file changed
+5
@@ -10,3 +10,8 @@ if exists("loaded_matchit")
|
||||
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
|
||||
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
|
||||
endif
|
||||
|
||||
" Indent correctly with template string for vim-javascript/builtin
|
||||
" indentexpr
|
||||
let b:syng_str = '^\%(.*template\)\@!.*string\|special'
|
||||
let b:syng_strcom = '^\%(.*template\)\@!.*string\|comment\|regex\|special\|doc'
|
||||
Reference in new issue
Block a user