mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor(messages): fold msg_outtrans_attr into msg_outtrans
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
This commit is contained in:
@@ -5137,7 +5137,7 @@ static void ex_tabs(exarg_T *eap)
|
||||
|
||||
msg_putchar('\n');
|
||||
vim_snprintf(IObuff, IOSIZE, _("Tab page %d"), tabcount++);
|
||||
msg_outtrans_attr(IObuff, HL_ATTR(HLF_T));
|
||||
msg_outtrans(IObuff, HL_ATTR(HLF_T));
|
||||
os_breakcheck();
|
||||
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, tp) {
|
||||
@@ -5155,7 +5155,7 @@ static void ex_tabs(exarg_T *eap)
|
||||
} else {
|
||||
home_replace(wp->w_buffer, wp->w_buffer->b_fname, IObuff, IOSIZE, true);
|
||||
}
|
||||
msg_outtrans(IObuff);
|
||||
msg_outtrans(IObuff, 0);
|
||||
os_breakcheck();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user