mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-09 22:25:12 +08:00
Indent correctly with template string
This commit is contained in:
@@ -10,3 +10,8 @@ if exists("loaded_matchit")
|
|||||||
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
|
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
|
||||||
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
|
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
|
||||||
endif
|
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