From 75fe54050081d8338a01b8cf72da424f022d0d83 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 30 Mar 2025 06:33:12 -0700 Subject: feat(checkhealth): emoji for OK/WARN/ERROR #33172 Problem: Health status can be much more visually distinct. Solution: Use emoji next to each status. --- runtime/lua/vim/health.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua') diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index 169c5f4b02..294f2a357a 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -275,7 +275,7 @@ end --- --- @param msg string function M.ok(msg) - local input = format_report_message('OK', msg) + local input = format_report_message('✅ OK', msg) collect_output(input) end @@ -284,7 +284,7 @@ end --- @param msg string --- @param ... string|string[] Optional advice function M.warn(msg, ...) - local input = format_report_message('WARNING', msg, ...) + local input = format_report_message('⚠️ WARNING', msg, ...) collect_output(input) end @@ -293,7 +293,7 @@ end --- @param msg string --- @param ... string|string[] Optional advice function M.error(msg, ...) - local input = format_report_message('ERROR', msg, ...) + local input = format_report_message('❌ ERROR', msg, ...) collect_output(input) end -- cgit