feat: util.info

This commit is contained in:
Folke Lemaitre 2022-11-22 22:35:06 +01:00
parent 72889623af
commit e59dc377d5
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 7 additions and 1 deletions

View File

@ -185,6 +185,12 @@ function M.error(msg)
})
end
function M.info(msg)
vim.notify(msg, vim.log.levels.INFO, {
title = "lazy.nvim",
})
end
function M._dump(value, result)
local t = type(value)
if t == "number" or t == "boolean" then

View File

@ -44,7 +44,7 @@ function M.setup(opts)
-- Module.add_module(Config.options.package_path .. "/opt/nvim-cmp/lua")
-- Module.add_module(Config.options.package_path .. "/opt/cmp-buffer/lua")
vim.schedule(function()
vim.notify("Reloading")
Util.info("Reloading...")
end)
Util.track("normalize")
Plugin.normalize(require(Config.options.plugins))