mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 19:24:27 +08:00
fix finding tokens.
This commit is contained in:
@@ -15,7 +15,7 @@ function! zencoding#html#findTokens(str)
|
|||||||
endif
|
endif
|
||||||
if token =~ '^\s'
|
if token =~ '^\s'
|
||||||
let token = matchstr(token, '^\s*\zs.*')
|
let token = matchstr(token, '^\s*\zs.*')
|
||||||
let last_pos = stridx(str, token)
|
let last_pos = stridx(str, token, pos)
|
||||||
endif
|
endif
|
||||||
let pos = stridx(str, token, pos) + len(token)
|
let pos = stridx(str, token, pos) + len(token)
|
||||||
endwhile
|
endwhile
|
||||||
|
|||||||
Reference in New Issue
Block a user