mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-26 14:17:21 +08:00
oops. fixed trim filter.
This commit is contained in:
1 parent
c9398065c8
commit
6eff2a965f
1 file changed
+2
-1
@@ -704,7 +704,8 @@ function! zencoding#expandAbbr(mode) range
|
||||
let lline = getline(n)
|
||||
let lpart = substitute(lline, '^\s\+', '', '')
|
||||
if s:zen_useFilter(filters, 't')
|
||||
let lpart = substitute(lline, '^[0-9.-]\+\s', '', '')
|
||||
let lpart = substitute(lpart, '^[0-9.-]\+\s\+', '', '')
|
||||
let lpart = substitute(lpart, '\s\+$', '', '')
|
||||
endif
|
||||
let expand = substitute(expand, '\$line'.(n-a:firstline+1).'\$', lpart, 'g')
|
||||
endfor
|
||||
|
||||
Reference in new issue
Block a user