1
0
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:
wsdjeg 2022-04-02 11:10:18 +08:00
parent 4ff3eaf3e2
commit 30137f4c64

View File

@ -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