aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spellsuggest.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/spellsuggest.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/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