mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-23 13:17:04 +08:00
fix finding tokens.
This commit is contained in:
1 parent
24a0418274
commit
b18d8ce9ab
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user