mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-15 02:31:08 +08:00
fix lhs in partial coding.
This commit is contained in:
1 parent
aea4becc0e
commit
cf8c5b35f7
1 file changed
+1
-1
@@ -390,7 +390,7 @@ function! zencoding#expandAbbr(mode) range
|
||||
let col = col("'<")
|
||||
silent! normal! c
|
||||
let line = getline('.')
|
||||
let lhs = matchstr(line, '.*\%'.(col-1).'c.')
|
||||
let lhs = matchstr(line, '.*\%<'.col.'c.')
|
||||
let rhs = matchstr(line, '\%>'.(col-1).'c.*')
|
||||
let expand = lhs.expand.rhs
|
||||
let lines = split(expand, '\n')
|
||||
|
||||
Reference in new issue
Block a user