]> granicus.if.org Git - vim/commitdiff
patch 8.2.4212: window title test still fails in some configurations v8.2.4212
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Jan 2022 22:32:28 +0000 (22:32 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Jan 2022 22:32:28 +0000 (22:32 +0000)
Problem:    Window title test still fails in some configurations.
Solution:   Explicitly set the 'title' option.

src/testdir/test_functions.vim
src/version.c

index edd03e37c9582ae44a3b05617597fc4a0605ff11..917e89f351aefdbc92ed097d7b9b03d47ad308ad 100644 (file)
@@ -1637,6 +1637,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>
index 18d8fc79da6f756ac453c72da880a53951af15c7..fab7939e403f0e10590cc53ed6d511232b0c575f 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4212,
 /**/
     4211,
 /**/