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/ops.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/ops.c')
-rw-r--r-- | src/nvim/ops.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 9e85997ca0..d42ce03f9a 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -656,7 +656,7 @@ void op_reindent(oparg_T *oap, Indenter how) if (i > 1 && (i % 50 == 0 || i == oap->line_count - 1) && oap->line_count > p_report) { - smsg(_("%" PRId64 " lines to indent... "), (int64_t)i); + smsg(0, _("%" PRId64 " lines to indent... "), (int64_t)i); } // Be vi-compatible: For lisp indenting the first line is not @@ -699,9 +699,7 @@ void op_reindent(oparg_T *oap, Indenter how) if (oap->line_count > p_report) { i = oap->line_count - (i + 1); - smsg(NGETTEXT("%" PRId64 " line indented ", - "%" PRId64 " lines indented ", i), - (int64_t)i); + smsg(0, NGETTEXT("%" PRId64 " line indented ", "%" PRId64 " lines indented ", i), (int64_t)i); } if ((cmdmod.cmod_flags & CMOD_LOCKMARKS) == 0) { // set '[ and '] marks @@ -2109,8 +2107,7 @@ void op_tilde(oparg_T *oap) } if (oap->line_count > p_report) { - smsg(NGETTEXT("%" PRId64 " line changed", - "%" PRId64 " lines changed", oap->line_count), + smsg(0, NGETTEXT("%" PRId64 " line changed", "%" PRId64 " lines changed", oap->line_count), (int64_t)oap->line_count); } } @@ -2783,12 +2780,12 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append) update_screen(); } if (yank_type == kMTBlockWise) { - smsg(NGETTEXT("block of %" PRId64 " line yanked%s", - "block of %" PRId64 " lines yanked%s", yanklines), + smsg(0, NGETTEXT("block of %" PRId64 " line yanked%s", + "block of %" PRId64 " lines yanked%s", yanklines), (int64_t)yanklines, namebuf); } else { - smsg(NGETTEXT("%" PRId64 " line yanked%s", - "%" PRId64 " lines yanked%s", yanklines), + smsg(0, NGETTEXT("%" PRId64 " line yanked%s", + "%" PRId64 " lines yanked%s", yanklines), (int64_t)yanklines, namebuf); } } @@ -4452,8 +4449,7 @@ void op_addsub(oparg_T *oap, linenr_T Prenum1, bool g_cmd) } if (change_cnt > p_report) { - smsg(NGETTEXT("%" PRId64 " lines changed", - "%" PRId64 " lines changed", change_cnt), + smsg(0, NGETTEXT("%" PRId64 " lines changed", "%" PRId64 " lines changed", change_cnt), (int64_t)change_cnt); } } |