don't use getchar(0). unittest.vim stop the test-sequence.

This commit is contained in:
Yasuhiro Matsumoto
2015-09-25 09:19:16 +09:00
parent 77747c762a
commit 5041c20aae

View File

@@ -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