mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
refactor(messages): fold msg_attr into msg
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
This commit is contained in:
@@ -526,7 +526,7 @@ void spell_suggest(int count)
|
||||
true, need_cap, true);
|
||||
|
||||
if (GA_EMPTY(&sug.su_ga)) {
|
||||
msg(_("Sorry, no suggestions"));
|
||||
msg(_("Sorry, no suggestions"), 0);
|
||||
} else if (count > 0) {
|
||||
if (count > sug.su_ga.ga_len) {
|
||||
smsg(_("Sorry, only %" PRId64 " suggestions"),
|
||||
|
Reference in New Issue
Block a user