diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-25 18:16:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 18:16:25 +0200 |
commit | ed8b7aae8525625c17b72c3fac187c5aee8a2c5c (patch) | |
tree | dec625958a7192641d9b3f710ccd79204267fa3f /src/nvim/ex_cmds.c | |
parent | ef77180908a0cc5e3ea68993f37ad99b3a5e7946 (diff) | |
parent | 68d425ac92599089047d98f1c533981ea917fed1 (diff) | |
download | rneovim-ed8b7aae8525625c17b72c3fac187c5aee8a2c5c.tar.gz rneovim-ed8b7aae8525625c17b72c3fac187c5aee8a2c5c.tar.bz2 rneovim-ed8b7aae8525625c17b72c3fac187c5aee8a2c5c.zip |
Merge pull request #25359 from bfredl/longmess
refactor: remove 'shortmess' save/restore panic for ex commands
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 4f6b8f2c8f..dc7136196e 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -2689,7 +2689,7 @@ int do_ecmd(int fnum, char *ffname, char *sfname, exarg_T *eap, linenr_T newlnum // Obey the 'O' flag in 'cpoptions': overwrite any previous file // message. - if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0) { + if (shortmess(SHM_OVERALL) && !msg_listdo_overwrite && !exiting && p_verbose == 0) { msg_scroll = false; } if (!msg_scroll) { // wait a bit when overwriting an error msg |