Skip to content

Commit 9d97e6d

Browse files
committed
fix window picker type err
1 parent 00dfd56 commit 9d97e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neo-tree/sources/common/commands.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ local use_window_picker = function(state, path, cmd)
968968
events.fire_event(events.FILE_OPENED, path)
969969
return
970970
end
971-
local picked_window_id = picker.pick_window()
971+
local picked_window_id = picker.pick_window({})
972972
if picked_window_id then
973973
vim.api.nvim_set_current_win(picked_window_id)
974974
---@diagnostic disable-next-line: param-type-mismatch

0 commit comments

Comments
 (0)