aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.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/spell.c
parent8e11c18d4962c5367a0549bdb2288323545852b6 (diff)
downloadrneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.gz
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.tar.bz2
rneovim-bc13bc154aa574e0bb58a50f2e0ca4570efa57c3.zip
refactor(message): smsg_attr -> smsg
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 38e045a08b..1c7707995f 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -1626,7 +1626,7 @@ static void spell_load_lang(char *lang)
lang);
do_cmdline_cmd(autocmd_buf);
} else {
- smsg(_("Warning: Cannot find word list \"%s.%s.spl\" or \"%s.ascii.spl\""),
+ smsg(0, _("Warning: Cannot find word list \"%s.%s.spl\" or \"%s.ascii.spl\""),
lang, spell_enc(), lang);
}
} else if (sl.sl_slang != NULL) {
@@ -2076,7 +2076,7 @@ char *parse_spelllang(win_T *wp)
} else {
// This is probably an error. Give a warning and
// accept the words anyway.
- smsg(_("Warning: region %s not supported"),
+ smsg(0, _("Warning: region %s not supported"),
region);
}
} else {