We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07257b3 commit fb014acCopy full SHA for fb014ac
lua/neo-tree/command/init.lua
@@ -89,8 +89,11 @@ M.execute = function(args)
89
-- Handle position override
90
local default_position = nt.config[args.source].window.position
91
local current_position = state.current_position or default_position
92
- local position_changed = args.position ~= current_position
93
- state.current_position = args.position
+ local position_changed = false
+ if args.position then
94
+ state.position = args.position
95
+ position_changed = args.position ~= current_position
96
+ end
97
98
-- Handle setting directory if requested
99
local path_changed = false
0 commit comments