mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
oops, fix the regex (clear out everything before matched tags)
This commit is contained in:
@@ -692,7 +692,7 @@ function! zencoding#expandAbbr(mode) range
|
|||||||
else
|
else
|
||||||
let part = matchstr(line, '\(\S.*\)$')
|
let part = matchstr(line, '\(\S.*\)$')
|
||||||
while part =~ '<.*>'
|
while part =~ '<.*>'
|
||||||
let part = substitute(part, '<.\{-}>', '', '')
|
let part = substitute(part, '^.*<.\{-}>', '', '')
|
||||||
endwhile
|
endwhile
|
||||||
endif
|
endif
|
||||||
let rest = getline('.')[len(line):]
|
let rest = getline('.')[len(line):]
|
||||||
|
|||||||
Reference in New Issue
Block a user