Skip to content

Commit bc87992

Browse files
committed
fix(explorer.git): dont reset cursor when git status is done updating
1 parent ef9b12d commit bc87992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/snacks/picker/source/explorer.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ function M.explorer(opts, ctx)
195195
if ctx.picker.closed then
196196
return
197197
end
198+
ctx.picker.list:set_target()
198199
ctx.picker:find()
199200
end,
200201
})

0 commit comments

Comments
 (0)