Skip to content

Commit 0b8b145

Browse files
author
xrandomname
authored
runtime(optwin): Fix for 'splitkeep' option (#12974)
'spk' was used as a boolean, rather than a string option. Signed-off-by: Christian Brabandt <[email protected]>
1 parent 1610528 commit 0b8b145

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/optwin.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" These commands create the option window.
22
"
33
" Maintainer: The Vim Project <https://github.com/vim/vim>
4-
" Last Change: 2023 Aug 10
4+
" Last Change: 2023 Aug 31
55
" Former Maintainer: Bram Moolenaar <[email protected]>
66

77
" If there already is an option window, jump to that one.
@@ -518,7 +518,7 @@ call <SID>OptionG("swb", &swb)
518518
call <SID>AddOption("splitbelow", gettext("a new window is put below the current one"))
519519
call <SID>BinOptionG("sb", &sb)
520520
call <SID>AddOption("splitkeep", gettext("determines scroll behavior for split windows"))
521-
call <SID>BinOptionG("spk", &spk)
521+
call <SID>OptionG("spk", &spk)
522522
call <SID>AddOption("splitright", gettext("a new window is put right of the current one"))
523523
call <SID>BinOptionG("spr", &spr)
524524
call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))

0 commit comments

Comments
 (0)