aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-04-02 00:35:52 +0200
committerGitHub <noreply@github.com>2023-04-01 22:35:52 +0000
commitaa8b3055868a1a2740ee50317cf4bbdfea6d49cb (patch)
tree24c49a90feb399e53bcd6b6f10039bf65fb0693b /lua
parentfix(registry): use oneshot channel for updating registry (#1168) (diff)
downloadmason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar.gz
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar.bz2
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar.lz
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar.xz
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.tar.zst
mason-aa8b3055868a1a2740ee50317cf4bbdfea6d49cb.zip
chore(health): include :MasonUpdate suggestion (#1169)
Diffstat (limited to 'lua')
-rw-r--r--lua/mason/health/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/mason/health/init.lua b/lua/mason/health/init.lua
index a757fbe0..b4ff37a2 100644
--- a/lua/mason/health/init.lua
+++ b/lua/mason/health/init.lua
@@ -144,7 +144,9 @@ function M.check()
if source:is_installed() then
health.report_ok(("Registry `%s` is installed."):format(source:get_display_name()))
else
- health.report_error(("Registry `%s` is NOT installed."):format(source:get_display_name()))
+ health.report_error(
+ ("Registry `%s` is not installed. Run :MasonUpdate to install."):format(source:get_display_name())
+ )
end
end