mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-patch:0b8b145bf8bf
runtime(optwin): Fix for 'splitkeep' option (vim/vim#12974)
'spk' was used as a boolean, rather than a string option.
0b8b145bf8
Co-authored-by: xrandomname <141588647+xrandomname@users.noreply.github.com>
This commit is contained in:
parent
2fad4c0b39
commit
4afd33e69f
@ -1,7 +1,7 @@
|
|||||||
" These commands create the option window.
|
" These commands create the option window.
|
||||||
"
|
"
|
||||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
" 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>
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
|
|
||||||
" If there already is an option window, jump to that one.
|
" 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>AddOption("splitbelow", gettext("a new window is put below the current one"))
|
||||||
call <SID>BinOptionG("sb", &sb)
|
call <SID>BinOptionG("sb", &sb)
|
||||||
call <SID>AddOption("splitkeep", gettext("determines scroll behavior for split windows"))
|
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>AddOption("splitright", gettext("a new window is put right of the current one"))
|
||||||
call <SID>BinOptionG("spr", &spr)
|
call <SID>BinOptionG("spr", &spr)
|
||||||
call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))
|
call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))
|
||||||
|
Loading…
Reference in New Issue
Block a user