aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellsuggest.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-29 16:10:54 +0200
committerbfredl <bjorn.linse@gmail.com>2023-09-29 16:36:04 +0200
commitbc13bc154aa574e0bb58a50f2e0ca4570efa57c3 (patch)
tree86c6a0d607ec80d404c10bdbb377ad3fc8ce2ee4 /src/nvim/spellsuggest.c
parent8e11c18d4962c5367a0549bdb2288323545852b6 (diff)
downloadrneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.gz
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.bz2
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.zip
refactor(message): smsg_attr -> smsg
Diffstat (limited to 'src/nvim/spellsuggest.c')
-rw-r--r--src/nvim/spellsuggest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/spellsuggest.c b/src/nvim/spellsuggest.c
index 4c1873eaca..1da61bbb2f 100644
--- a/src/nvim/spellsuggest.c
+++ b/src/nvim/spellsuggest.c
@@ -529,7 +529,7 @@ void spell_suggest(int count)
msg(_("Sorry, no suggestions"), 0);
} else if (count > 0) {
if (count > sug.su_ga.ga_len) {
- smsg(_("Sorry, only %" PRId64 " suggestions"),
+ smsg(0, _("Sorry, only %" PRId64 " suggestions"),
(int64_t)sug.su_ga.ga_len);
}
} else {
@@ -1480,9 +1480,9 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char *fword, bool soun
int j;
// print the stack of changes that brought us here
- smsg("------ %s -------", fword);
+ smsg(0, "------ %s -------", fword);
for (j = 0; j < depth; j++) {
- smsg("%s", changename[j]);
+ smsg(0, "%s", changename[j]);
}
}
#endif