Skip to content

Commit ac58cff

Browse files
committed
feat: Improve checkhealth messages
1 parent a26106f commit ac58cff

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lua/debugprint/health.lua

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ M.check = function()
66
local global_opts = require("debugprint")._get_global_opts()
77

88
if global_opts ~= nil then
9-
vim.health.ok("debugprint has been setup")
9+
vim.health.ok("debugprint has been set up")
1010

1111
local success_lazyconfig, module_lazyconfig =
1212
pcall(require, "lazy.core.config")
@@ -30,6 +30,10 @@ M.check = function()
3030
)
3131
end
3232
end
33+
else
34+
vim.health.warn(
35+
"lazy.nvim is not being used as plugin manager, cannot check lazy-loading status"
36+
)
3337
end
3438

3539
local success_hipatterns, module_hipatterns =
@@ -46,7 +50,7 @@ M.check = function()
4650
end
4751
else
4852
vim.health.warn(
49-
"debugprint is not yet setup, checkhealth cannot fully run"
53+
"debugprint is not yet setup, checkhealth cannot be run"
5054
)
5155
end
5256
end

0 commit comments

Comments
 (0)