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

@@ -292,7 +292,7 @@ end
local function removed(opts)
if opts.auto_close then
utils.warn "auto close feature has been removed, see note in the README (tips & reminder section)"
utils.notify.warn "auto close feature has been removed, see note in the README (tips & reminder section)"
opts.auto_close = nil
end
end
@@ -307,7 +307,7 @@ function M.migrate_legacy_options(opts)
end
end
if msg then
utils.warn(msg)
utils.notify.warn(msg)
end
-- silently move