diff --git a/lua/neo-tree/sources/filesystem/lib/fs_actions.lua b/lua/neo-tree/sources/filesystem/lib/fs_actions.lua index de2ab7d6..6a39b1d9 100644 --- a/lua/neo-tree/sources/filesystem/lib/fs_actions.lua +++ b/lua/neo-tree/sources/filesystem/lib/fs_actions.lua @@ -163,7 +163,7 @@ local function get_unused_name( local new_path = parent_path and parent_path .. utils.path_separator .. new_name or new_name get_unused_name(new_path, using_root_directory, name_chosen_callback) end - end) + end, {}, "file") else name_chosen_callback(destination) end @@ -336,7 +336,7 @@ M.create_directory = function(in_directory, callback, using_root_directory) end end) end - end) + end, {}, "file") end --- Create Node @@ -411,7 +411,7 @@ M.create_node = function(in_directory, callback, using_root_directory) end end) end - end) + end, {}, "file") end -- Delete Node @@ -608,7 +608,7 @@ local rename_node = function(msg, name, get_destination, path, callback) return end fs_rename() - end) + end, {}, "file") end -- Rename Node