aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_eval.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-29 20:07:16 +0200
committerGitHub <noreply@github.com>2023-09-29 20:07:16 +0200
commitbe463e7643fb65c49a9a13bd5a1c6fb6ac34ae77 (patch)
tree33ffeaee48b3895c0cca615476a027a27c780cfc /src/nvim/ex_eval.c
parent54daf022ce989bb8ea34084f947ab85c045b690f (diff)
parentbc13bc154aa574e0bb58a50f2e0ca4570efa57c3 (diff)
downloadrneovim-be463e7643fb65c49a9a13bd5a1c6fb6ac34ae77.tar.gz
rneovim-be463e7643fb65c49a9a13bd5a1c6fb6ac34ae77.tar.bz2
rneovim-be463e7643fb65c49a9a13bd5a1c6fb6ac34ae77.zip
Merge pull request #25418 from bfredl/no_attr2
refactor(message): remove more "attr" variants
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r--src/nvim/ex_eval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_eval.c b/src/nvim/ex_eval.c
index 0704b47d40..49bdf1088a 100644
--- a/src/nvim/ex_eval.c
+++ b/src/nvim/ex_eval.c
@@ -497,7 +497,7 @@ static int throw_exception(void *value, except_type_T type, char *cmdname)
if (debug_break_level > 0 || *p_vfile == NUL) {
msg_scroll = true; // always scroll up, don't overwrite
}
- smsg(_("Exception thrown: %s"), excp->value);
+ smsg(0, _("Exception thrown: %s"), excp->value);
msg_puts("\n"); // don't overwrite this either
if (debug_break_level > 0 || *p_vfile == NUL) {
@@ -548,7 +548,7 @@ static void discard_exception(except_T *excp, bool was_finished)
if (debug_break_level > 0 || *p_vfile == NUL) {
msg_scroll = true; // always scroll up, don't overwrite
}
- smsg(was_finished ? _("Exception finished: %s") : _("Exception discarded: %s"), excp->value);
+ smsg(0, was_finished ? _("Exception finished: %s") : _("Exception discarded: %s"), excp->value);
msg_puts("\n"); // don't overwrite this either
if (debug_break_level > 0 || *p_vfile == NUL) {
cmdline_row = msg_row;
@@ -615,7 +615,7 @@ static void catch_exception(except_T *excp)
if (debug_break_level > 0 || *p_vfile == NUL) {
msg_scroll = true; // always scroll up, don't overwrite
}
- smsg(_("Exception caught: %s"), excp->value);
+ smsg(0, _("Exception caught: %s"), excp->value);
msg_puts("\n"); // don't overwrite this either
if (debug_break_level > 0 || *p_vfile == NUL) {
@@ -732,7 +732,7 @@ static void report_pending(int action, int pending, void *value)
}
no_wait_return++;
msg_scroll = true; // always scroll up, don't overwrite
- smsg(mesg, s);
+ smsg(0, mesg, s);
msg_puts("\n"); // don't overwrite this either
cmdline_row = msg_row;
no_wait_return--;