mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-01 10:06:24 +08:00
A line like <input @input="(e) => update(e)" /> was taken as an empty tag without '/>', as '>' in '=>' matched its end, so the next line was indented one level less. Skip '>' in quotes, and don't take '/>' as the end of an empty tag.
8 lines
167 B
VimL
8 lines
167 B
VimL
" Empty tags like <input> with or without '/>', and '>' in attribute
|
|
" expressions
|
|
let g:test_flatten = 1
|
|
|
|
function! Check()
|
|
call ExpectIndentEachLine()
|
|
endfunction
|