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.

1450112eef

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2023-08-21 16:16:57 +08:00
parent 67edc0a772
commit bd9a9e63bc

View File

@@ -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>