mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58: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:
@@ -380,7 +380,7 @@ newwindow:
|
||||
case 'T':
|
||||
CHECK_CMDWIN;
|
||||
if (one_window(curwin)) {
|
||||
msg(_(m_onlyone));
|
||||
msg(_(m_onlyone), 0);
|
||||
} else {
|
||||
tabpage_T *oldtab = curtab;
|
||||
|
||||
@@ -3972,7 +3972,7 @@ void close_others(int message, int forceit)
|
||||
if (one_nonfloat() && !lastwin->w_floating) {
|
||||
if (message
|
||||
&& !autocmd_busy) {
|
||||
msg(_(m_onlyone));
|
||||
msg(_(m_onlyone), 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user