Skip to content

Commit 8a60083

Browse files
authored
fix(filesystem): do netrw hijack if needed after lazy load (#907)
closes #828
1 parent 4b755ea commit 8a60083

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/neo-tree.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ M.setup = function(config, is_auto_config)
246246
local netrw = require("neo-tree.setup.netrw")
247247
if not is_auto_config and netrw.get_hijack_netrw_behavior() ~= "disabled" then
248248
vim.cmd("silent! autocmd! FileExplorer *")
249+
netrw.hijack()
249250
end
250251
end
251252

0 commit comments

Comments
 (0)