Merge #32013 from luukvbaal/shellkind

This commit is contained in:
Justin M. Keyes
2025-01-15 02:23:44 -08:00
committed by GitHub
7 changed files with 77 additions and 20 deletions

View File

@@ -772,7 +772,8 @@ void nvim_echo(Array chunks, Boolean history, Dict(echo_opts) *opts, Error *err)
verbose_enter();
}
msg_multihl(hl_msg, opts->err ? "echoerr" : history ? "echomsg" : "echo", history, opts->err);
char *kind = opts->verbose ? NULL : opts->err ? "echoerr" : history ? "echomsg" : "echo";
msg_multihl(hl_msg, kind, history, opts->err);
if (opts->verbose) {
verbose_leave();