commit a9f544b712bd360502a236e6bf9d921cbd0ac3b1 parent 2b21c9c23f889555dd93ba508a0f787b25ed9bb4 Author: zeertzjq <zeertzjq@outlook.com> Date: Fri, 6 Jun 2025 06:57:51 +0800 Merge pull request #34333 from zeertzjq/vim-9.1.1431 vim-patch:9.1.{1431,1433} N/A patch: vim-patch:002548b: runtime(doc): Add missing 'wfb' (winfixbuf) tag Diffstat:
| M | src/nvim/ex_session.c | | | 10 | +++------- |
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/nvim/ex_session.c b/src/nvim/ex_session.c @@ -638,17 +638,13 @@ static int makeopens(FILE *fd, char *dirnow) return FAIL; } - // save 'shortmess' if not storing options + // Save 'shortmess' if not storing options. if ((ssop_flags & kOptSsopFlagOptions) == 0) { PUTLINE_FAIL("let s:shortmess_save = &shortmess"); } - // set 'shortmess' for the following. Add the 'A' flag if it was there - PUTLINE_FAIL("if &shortmess =~ 'A'"); - PUTLINE_FAIL(" set shortmess=aoOA"); - PUTLINE_FAIL("else"); - PUTLINE_FAIL(" set shortmess=aoO"); - PUTLINE_FAIL("endif"); + // Set 'shortmess' for the following. + PUTLINE_FAIL("set shortmess+=aoO"); // Now save the current files, current buffer first. // Put all buffers into the buffer list.