diff --git a/autoload/emmet/lang/html.vim b/autoload/emmet/lang/html.vim index 0d4f0ac..b970402 100644 --- a/autoload/emmet/lang/html.vim +++ b/autoload/emmet/lang/html.vim @@ -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