mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-10 15:25:48 +08:00
don't use getchar(0). unittest.vim stop the test-sequence.
This commit is contained in:
1 parent
77747c762a
commit
5041c20aae
1 file changed
+1
-1
@@ -626,7 +626,7 @@ function! emmet#lang#html#toggleComment() abort
|
||||
let orgpos = getpos('.')
|
||||
let curpos = getpos('.')
|
||||
let mx = '<\%#[^>]*>'
|
||||
while getchar(0) == 0
|
||||
while 1
|
||||
let block = emmet#util#searchRegion('<!--', '-->')
|
||||
if emmet#util#regionIsValid(block)
|
||||
let block[1][1] += 2
|
||||
|
||||
Reference in new issue
Block a user