mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 11:34:46 +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 orgpos = getpos('.')
|
||||||
let curpos = getpos('.')
|
let curpos = getpos('.')
|
||||||
let mx = '<\%#[^>]*>'
|
let mx = '<\%#[^>]*>'
|
||||||
while getchar(0) == 0
|
while 1
|
||||||
let block = emmet#util#searchRegion('<!--', '-->')
|
let block = emmet#util#searchRegion('<!--', '-->')
|
||||||
if emmet#util#regionIsValid(block)
|
if emmet#util#regionIsValid(block)
|
||||||
let block[1][1] += 2
|
let block[1][1] += 2
|
||||||
|
|||||||
Reference in New Issue
Block a user