mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-28 21:50:35 +08:00
fix(iedit): fix cursor_stack index checking
This commit is contained in:
parent
4ff3eaf3e2
commit
30137f4c64
@ -739,7 +739,9 @@ function! s:parse_symbol(begin, end, symbol, use_expr, selectall) abort
|
|||||||
let s:index = 0
|
let s:index = 0
|
||||||
call cursor(s:cursor_stack[0].lnum, s:cursor_stack[0].col)
|
call cursor(s:cursor_stack[0].lnum, s:cursor_stack[0].col)
|
||||||
endif
|
endif
|
||||||
|
if !empty(s:cursor_stack)
|
||||||
let s:cursor_stack[s:index].active = 1
|
let s:cursor_stack[s:index].active = 1
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user