We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0774fa2 commit a77af2eCopy full SHA for a77af2e
lua/neo-tree/sources/common/hijack_cursor.lua
@@ -20,7 +20,7 @@ local hijack_cursor_handler = function()
20
end
21
22
local state = manager.get_state(source, nil, winid)
23
- if state == nil then
+ if state == nil or not state.tree then
24
return
25
26
local node = state.tree:get_node()
0 commit comments