Commit: runtime(optwin): add missing values for tabpanel option

2 views
Skip to first unread message

Christian Brabandt

unread,
Jul 6, 2025, 2:30:14 PM7/6/25
to vim...@googlegroups.com
runtime(optwin): add missing values for tabpanel option

Commit: https://github.com/vim/vim/commit/d6a5edd6136438d594c535f1ad6635768640331a
Author: RestorerZ <rest...@mail2k.ru>
Date: Sun Jul 6 20:17:36 2025 +0200

runtime(optwin): add missing values for tabpanel option

closes: https://github.com/vim/vim/issues/17685

Signed-off-by: RestorerZ <rest...@mail2k.ru>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 91974570e..0158f9775 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -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 <Br...@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
Reply all
Reply to author
Forward
0 new messages