mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
fix lhs in partial coding.
This commit is contained in:
@@ -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