# HG changeset patch # User Christian Brabandt # Date 1693463409 -7200 # Node ID 7ff767f846301cf22c2eb7763de0705e35cfa2bc # Parent 1549d0cc5fc7b51400052c6bbcb3c6069f07c68c runtime(optwin): Fix for 'splitkeep' option (#12974) Commit: https://github.com/vim/vim/commit/0b8b145bf8bfd3e90a1c30a999e6adb89ec8891c Author: xrandomname <141588647+xrandomname@users.noreply.github.com> Date: Thu Aug 31 06:18:40 2023 +0000 runtime(optwin): Fix for 'splitkeep' option (https://github.com/vim/vim/issues/12974) 'spk' was used as a boolean, rather than a string option. Signed-off-by: Christian Brabandt diff --git a/runtime/optwin.vim b/runtime/optwin.vim --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: The Vim Project -" Last Change: 2023 Aug 10 +" Last Change: 2023 Aug 31 " Former Maintainer: Bram Moolenaar " If there already is an option window, jump to that one. @@ -518,7 +518,7 @@ call OptionG("swb", &swb) call AddOption("splitbelow", gettext("a new window is put below the current one")) call BinOptionG("sb", &sb) call AddOption("splitkeep", gettext("determines scroll behavior for split windows")) -call BinOptionG("spk", &spk) +call OptionG("spk", &spk) call AddOption("splitright", gettext("a new window is put right of the current one")) call BinOptionG("spr", &spr) call AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))