diff --git a/autoload/zencoding/html.vim b/autoload/zencoding/html.vim index 1d37237..5bed6c1 100644 --- a/autoload/zencoding/html.vim +++ b/autoload/zencoding/html.vim @@ -15,7 +15,7 @@ function! zencoding#html#findTokens(str) endif if token =~ '^\s' let token = matchstr(token, '^\s*\zs.*') - let last_pos = stridx(str, token) + let last_pos = stridx(str, token, pos) endif let pos = stridx(str, token, pos) + len(token) endwhile