Skip to content

Commit c902e02

Browse files
committed
refactor(#3255): merge api pre and post
1 parent fdb1170 commit c902e02

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

lua/nvim-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function M.setup(config_user)
309309
vim.g.NvimTreeSetup = 1
310310
vim.api.nvim_exec_autocmds("User", { pattern = "NvimTreeSetup" })
311311

312-
require("nvim-tree.api.impl.post").hydrate_post_setup(api)
312+
require("nvim-tree.api.impl").hydrate_post_setup(api)
313313
end
314314

315315
vim.g.NvimTreeRequired = 1

lua/nvim-tree/api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ local api = {
9696
live_filter = require("nvim-tree._meta.api.deprecated").live_filter, ---@deprecated
9797
}
9898

99-
require("nvim-tree.api.impl.post").hydrate_pre_setup(api)
99+
require("nvim-tree.api.impl").hydrate_pre_setup(api)
100100

101101
return api

0 commit comments

Comments
 (0)