diff --git a/lua/nvim-tree/api/impl.lua b/lua/nvim-tree/api/impl.lua index 11304e75408..79e8c5c0e9f 100644 --- a/lua/nvim-tree/api/impl.lua +++ b/lua/nvim-tree/api/impl.lua @@ -229,7 +229,7 @@ function M.hydrate_post_setup(api) api.tree.close_in_this_tab = __(function() require("nvim-tree.view").close_this_tab_only() end) api.tree.collapse_all = __(function(opts) require("nvim-tree.actions.tree.collapse").all(opts) end) api.tree.expand_all = en(function(e, n, opts) e:expand_all(n, opts) end) - api.tree.find_file = __(function(opts) require("nvim-tree.actions.tree.find_file").fn(opts) end) + api.tree.find_file = __(function(opts) require("nvim-tree.actions.tree.find-file").fn(opts) end) api.tree.focus = __(function(opts) require("nvim-tree.actions.tree.open").fn(opts) end) api.tree.get_node_under_cursor = en(function(e) return e:get_node_at_cursor() end) api.tree.get_nodes = en(function(e) return e:get_nodes() end)