]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(optwin): add missing values for tabpanel option
authorRestorerZ <restorer@mail2k.ru>
Sun, 6 Jul 2025 18:17:36 +0000 (20:17 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 6 Jul 2025 18:17:36 +0000 (20:17 +0200)
closes: #17685

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/optwin.vim

index 91974570ec13a5c7f0ec4693eaf1aecbcd9999bf..0158f9775d66f1cf838194e2f1f4e461899a58a5 100644 (file)
@@ -1,7 +1,7 @@
 " These commands create the option window.
 "
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Jul 02
+" Last Change: 2025 Jul 05
 " Former Maintainer:   Bram Moolenaar <Bram@vim.org>
 
 " If there already is an option window, jump to that one.
@@ -1472,8 +1472,11 @@ if exists("&mzschemedll")
 endif
 if has("tabpanel")
   call <SID>AddOption("showtabpanel", gettext("0, 1 or 2; when to use the tabpanel"))
+  call <SID>OptionG("showtabpanel", &showtabpanel)
   call <SID>AddOption("tabpanel", gettext("custom tab pages in tabpanel"))
+  call <SID>OptionG("tabpanel", &tabpanel)
   call <SID>AddOption("tabpanelopt", gettext("options for using tabpanel"))
+  call <SID>OptionG("tabpanelopt", &tabpanelopt)
 endif
 
 set cpo&vim