diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2022-10-03 15:28:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-03 15:28:08 +0100 |
commit | 13ece2ae1d09009d3fb8acf858c288e7848ecdac (patch) | |
tree | 8c157431840de281782b06d8572adf41085f617e /runtime/optwin.vim | |
parent | 6b2d4ff7148e0b416ba745d20d061e6f7bb53ee7 (diff) |
patch 9.0.0647: the 'splitscroll' option is not a good namev9.0.0647
Problem: The 'splitscroll' option is not a good name.
Solution: Rename 'splitscroll' to 'splitkeep' and make it a string option,
also supporting "topline". (Luuk van Baal, closes #11258)
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r-- | runtime/optwin.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 04fe3b3b68..018dbfcc3e 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -516,10 +516,10 @@ call <SID>AddOption("switchbuf", gettext("\"useopen\" and/or \"split\"; which wi 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>AddOption("splitright", gettext("a new window is put right of the current one")) call <SID>BinOptionG("spr", &spr) -call <SID>AddOption("splitscroll", gettext("determines scroll behavior for split windows")) -call <SID>BinOptionG("spsc", &spsc) call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows")) call append("$", "\t" .. s:local_to_window) call <SID>BinOptionL("scb") |