aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-30 06:33:12 -0700
committerGitHub <noreply@github.com>2025-03-30 06:33:12 -0700
commit75fe54050081d8338a01b8cf72da424f022d0d83 (patch)
tree4693c03f1a7319dae805a333aee6397b0aa15c36 /runtime/lua/vim
parent99529577cc9f5229cbb3dac8ab4782bd43094102 (diff)
downloadrneovim-75fe54050081d8338a01b8cf72da424f022d0d83.tar.gz
rneovim-75fe54050081d8338a01b8cf72da424f022d0d83.tar.bz2
rneovim-75fe54050081d8338a01b8cf72da424f022d0d83.zip
feat(checkhealth): emoji for OK/WARN/ERROR #33172
Problem: Health status can be much more visually distinct. Solution: Use emoji next to each status.
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/health.lua6
1 files changed, 3 insertions, 3 deletions
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