patch 9.1.1391: Vim does not have a vertical tabpanel
Problem: Vim does not have a tabpanel
Solution: include the tabpanel feature
(Naruhiko Nishino, thinca)
closes: #17263
Co-authored-by: thinca <thinca@gmail.com>
Signed-off-by: Naruhiko Nishino <naru123456789@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 4eb67e3..d3d757b 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1854,6 +1854,9 @@
if (rename_buffer(eap->arg) == FAIL)
return;
redraw_tabline = TRUE;
+#if defined(FEAT_TABPANEL)
+ redraw_tabpanel = TRUE;
+#endif
}
// print file name if no argument or 'F' is not in 'shortmess'
@@ -2100,6 +2103,9 @@
{
curbuf->b_p_ro = FALSE;
redraw_tabline = TRUE;
+#if defined(FEAT_TABPANEL)
+ redraw_tabpanel = TRUE;
+#endif
}
}