chore: move nvim-tree.utils.warn -> notify.warn

add notify.error and notify.info
This commit is contained in:
kiyan
2022-07-18 13:46:11 +02:00
parent ec530e73be
commit 21fadc1f38
12 changed files with 40 additions and 29 deletions

View File

@@ -58,7 +58,7 @@ end
function M.fn(base_node)
local node = base_node.nodes and base_node or core.get_explorer()
if gen_iterator()(node) then
utils.warn("expansion iteration was halted after " .. M.MAX_FOLDER_DISCOVERY .. " discovered folders")
utils.notify.warn("expansion iteration was halted after " .. M.MAX_FOLDER_DISCOVERY .. " discovered folders")
end
renderer.draw()
end