commit bd9a9e63bc8d58beb5ab4b9564ba17b63f60200f
parent 67edc0a77297e6bc6f12178c664ef34f227bcbde
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 21 Aug 2023 16:16:57 +0800
vim-patch:8.2.4212: window title test still fails in some configurations
Problem: Window title test still fails in some configurations.
Solution: Explicitly set the 'title' option.
https://github.com/vim/vim/commit/1450112eef2eda211d398d6d7ac03f7a29fa4f55
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim
@@ -2016,6 +2016,7 @@ func Test_setbufvar_keep_window_title()
endif
let lines =<< trim END
+ set title
edit Xa.txt
let g:buf = bufadd('Xb.txt')
inoremap <F2> <C-R>=setbufvar(g:buf, '&autoindent', 1) ?? ''<CR>