]> granicus.if.org Git - vim/commitdiff
patch 8.0.1216: tabline is not always updated for :file command v8.0.1216
authorBram Moolenaar <Bram@vim.org>
Tue, 24 Oct 2017 20:32:59 +0000 (22:32 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 24 Oct 2017 20:32:59 +0000 (22:32 +0200)
Problem:    Tabline is not always updated for :file command. (Norio Takagi)
Solution:   Set redraw_tabline. (Hirohito Higashi)

src/ex_cmds.c
src/version.c

index 60f47bbd245e8690ecf1adea9ad4d9639df9b12a..154372883d83a52ffdf09bb4150884cdc7c74e97 100644 (file)
@@ -3002,6 +3002,7 @@ ex_file(exarg_T *eap)
     /* print full file name if :cd used */
     if (!shortmess(SHM_FILEINFO))
        fileinfo(FALSE, FALSE, eap->forceit);
+    redraw_tabline = TRUE;
 }
 
 /*
index 05db90f1bf7a5c717a0c1e11944465b13f46971d..3668e3024866cf9d6051a9e9589504f1ce6ee7c1 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1216,
 /**/
     1215,
 /**/