Remove unneeded cursor positioning
This commit is contained in:
parent
87caa8bcaa
commit
7655a77d72
@ -303,14 +303,11 @@
|
|||||||
endwhile
|
endwhile
|
||||||
|
|
||||||
let targets_len = len(targets)
|
let targets_len = len(targets)
|
||||||
let groups_len = len(s:index_to_key)
|
|
||||||
|
|
||||||
if targets_len == 0
|
if targets_len == 0
|
||||||
throw 'No matches'
|
throw 'No matches'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Restore cursor position
|
let groups_len = len(s:index_to_key)
|
||||||
call cursor(orig_pos[0], orig_pos[1])
|
|
||||||
|
|
||||||
" Split targets into key groups {{{
|
" Split targets into key groups {{{
|
||||||
let groups = []
|
let groups = []
|
||||||
|
Loading…
Reference in New Issue
Block a user