refactor: improve API readability and tidy actions submodules (#2593)

* refactor: improve API readability, tidy actions modules

* Apply requested changes

* `actions/reloaders/reloaders.lua` -> `actions/reloaders.lua`

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Azad
2023-12-31 05:52:27 +01:00
committed by GitHub
parent dc839a72a6
commit f779abaf2a
20 changed files with 210 additions and 147 deletions

View File

@@ -102,7 +102,7 @@ function M.fn(default_modifier)
M.rename(node, prepend .. new_file_path .. append)
if not M.config.filesystem_watchers.enable then
require("nvim-tree.actions.reloaders.reloaders").reload_explorer()
require("nvim-tree.actions.reloaders").reload_explorer()
end
find_file(utils.path_remove_trailing(new_file_path))