mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +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:
@@ -2476,7 +2476,7 @@ static const char *did_set_arabic(optset_T *args)
|
||||
static char *w_arabic = N_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'");
|
||||
|
||||
msg_source(HL_ATTR(HLF_W));
|
||||
msg_attr(_(w_arabic), HL_ATTR(HLF_W));
|
||||
msg(_(w_arabic), HL_ATTR(HLF_W));
|
||||
set_vim_var_string(VV_WARNINGMSG, _(w_arabic), -1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user