Skip to content

Commit 0111052

Browse files
committed
fix(#1716): focus file/directory when created in a sub-directory
1 parent 4766ed7 commit 0111052

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/nvim-tree/actions/fs/create-file.lua

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ function M.fn(node)
106106
if not is_error then
107107
notify.info(new_file_path .. " was properly created")
108108
end
109-
require("nvim-tree.actions.reloaders.reloaders").reload_explorer()
110109
require("nvim-tree.actions.finders.find-file").fn(new_file_path)
111110
end)
112111
end

0 commit comments

Comments
 (0)