diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-27 22:21:17 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-09-27 22:50:49 +0200 |
commit | b85f1dafc7c0a19704135617454f1c66f41202c1 (patch) | |
tree | ce478ebdce2efaac4ff9f16e86bce556e2ef1e7d /src/nvim/window.c | |
parent | f91cd31d7d9d70006e0000592637d5d997eab52c (diff) | |
download | rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.gz rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.bz2 rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.zip |
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
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 1208494eaf..dbbbd9f87e 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -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; } |