mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
don't use getchar(0). unittest.vim stop the test-sequence.
This commit is contained in:
@@ -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