mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:30:04 +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
|
||||
call cursor(s:cursor_stack[0].lnum, s:cursor_stack[0].col)
|
||||
endif
|
||||
if !empty(s:cursor_stack)
|
||||
let s:cursor_stack[s:index].active = 1
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user