diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-29 16:10:54 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-09-29 16:36:04 +0200 |
commit | bc13bc154aa574e0bb58a50f2e0ca4570efa57c3 (patch) | |
tree | 86c6a0d607ec80d404c10bdbb377ad3fc8ce2ee4 /src/nvim/ex_eval.c | |
parent | 8e11c18d4962c5367a0549bdb2288323545852b6 (diff) | |
download | rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.gz rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.bz2 rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.zip |
refactor(message): smsg_attr -> smsg
Diffstat (limited to 'src/nvim/ex_eval.c')
-rw-r--r-- | src/nvim/ex_eval.c | 8 |
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--; |