mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 11:14:26 +08:00
fix lhs in partial coding.
This commit is contained in:
@@ -390,7 +390,7 @@ function! zencoding#expandAbbr(mode) range
|
|||||||
let col = col("'<")
|
let col = col("'<")
|
||||||
silent! normal! c
|
silent! normal! c
|
||||||
let line = getline('.')
|
let line = getline('.')
|
||||||
let lhs = matchstr(line, '.*\%'.(col-1).'c.')
|
let lhs = matchstr(line, '.*\%<'.col.'c.')
|
||||||
let rhs = matchstr(line, '\%>'.(col-1).'c.*')
|
let rhs = matchstr(line, '\%>'.(col-1).'c.*')
|
||||||
let expand = lhs.expand.rhs
|
let expand = lhs.expand.rhs
|
||||||
let lines = split(expand, '\n')
|
let lines = split(expand, '\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user