forked from VimPlug/emmet-vim
fixed comment block.
This commit is contained in:
@@ -1280,7 +1280,7 @@ function! s:zen_toggleComment()
|
|||||||
let pos[2] -= 5
|
let pos[2] -= 5
|
||||||
elseif searchpair('<[a-z]', '', '\(</[^>]\+>\|<[^/>]\+/>\)', 'bcW')
|
elseif searchpair('<[a-z]', '', '\(</[^>]\+>\|<[^/>]\+/>\)', 'bcW')
|
||||||
exe "normal! i<!-- "
|
exe "normal! i<!-- "
|
||||||
let rpos = search('\(</[^>]\+>\|<[^/>]\+/>\)', 'ceW')
|
let rpos = search('\(<\/[^>]\+>\|[^\/>]*\/>\)', 'ceW')
|
||||||
exe "normal! a --\<c-v>>"
|
exe "normal! a --\<c-v>>"
|
||||||
let pos[2] += 5
|
let pos[2] += 5
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user