mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
fix(iedit): fix parse_symbol function
This commit is contained in:
parent
8a57d41a63
commit
9219c91933
@ -512,8 +512,8 @@ local function parse_symbol(_begin, _end, symbol, use_expr, selectall) -- {{{
|
||||
local pos_a = v[1]
|
||||
local pos_b = v[2]
|
||||
table.insert(cursor_stack, {
|
||||
cursor_begin = string.sub(line, pos_a, pos_b - 2),
|
||||
cursor_char = string.sub(line, pos_b - 1, pos_b - 1),
|
||||
cursor_begin = string.sub(line, pos_a + 1, pos_b - 1),
|
||||
cursor_char = string.sub(line, pos_b, pos_b),
|
||||
cursor_end = '',
|
||||
active = selectall,
|
||||
lnum = l,
|
||||
|
Loading…
x
Reference in New Issue
Block a user