aboutsummaryrefslogtreecommitdiff
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-31 08:22:07 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-08-31 10:58:54 +0200
commit4afd33e69f4c4a061bcb51a5ed437163262f943c (patch)
treede860e40ccf309e38a6d9fb44797d34e37339f1e /runtime/optwin.vim
parent2fad4c0b392bb9d7fbb742be1fd5d214683b8ebb (diff)
downloadrneovim-4afd33e69f4c4a061bcb51a5ed437163262f943c.tar.gz
rneovim-4afd33e69f4c4a061bcb51a5ed437163262f943c.tar.bz2
rneovim-4afd33e69f4c4a061bcb51a5ed437163262f943c.zip
vim-patch:0b8b145bf8bf
runtime(optwin): Fix for 'splitkeep' option (vim/vim#12974) 'spk' was used as a boolean, rather than a string option. https://github.com/vim/vim/commit/0b8b145bf8bfd3e90a1c30a999e6adb89ec8891c Co-authored-by: xrandomname <141588647+xrandomname@users.noreply.github.com>
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 647859e359..fc60f70335 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: 2023 Aug 10
+" Last Change: 2023 Aug 31
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" If there already is an option window, jump to that one.
@@ -480,7 +480,7 @@ call <SID>OptionG("swb", &swb)
call <SID>AddOption("splitbelow", gettext("a new window is put below the current one"))
call <SID>BinOptionG("sb", &sb)
call <SID>AddOption("splitkeep", gettext("determines scroll behavior for split windows"))
-call <SID>BinOptionG("spk", &spk)
+call <SID>OptionG("spk", &spk)
call <SID>AddOption("splitright", gettext("a new window is put right of the current one"))
call <SID>BinOptionG("spr", &spr)
call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))