comparison runtime/optwin.vim @ 30285:9edb1a8161ac v9.0.0478

patch 9.0.0478: test for 'splitscroll' takes too much time Commit: https://github.com/vim/vim/commit/594f9e09cd68e6277b8aa08094405bc642c5792a Author: Luuk van Baal <luukvbaal@gmail.com> Date: Fri Sep 16 12:52:58 2022 +0100 patch 9.0.0478: test for 'splitscroll' takes too much time Problem: Test for 'splitscroll' takes too much time. Solution: Only test some of the combinations. (Luuk van Baal, closes https://github.com/vim/vim/issues/11139)
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Sep 2022 14:00:05 +0200
parents bc8ad1c28b51
children 0827d3d6d8c0
comparison
equal deleted inserted replaced
30284:5ba1ec8cf49f 30285:9edb1a8161ac
513 call <SID>OptionG("swb", &swb) 513 call <SID>OptionG("swb", &swb)
514 call <SID>AddOption("splitbelow", gettext("a new window is put below the current one")) 514 call <SID>AddOption("splitbelow", gettext("a new window is put below the current one"))
515 call <SID>BinOptionG("sb", &sb) 515 call <SID>BinOptionG("sb", &sb)
516 call <SID>AddOption("splitright", gettext("a new window is put right of the current one")) 516 call <SID>AddOption("splitright", gettext("a new window is put right of the current one"))
517 call <SID>BinOptionG("spr", &spr) 517 call <SID>BinOptionG("spr", &spr)
518 call <SID>AddOption("splitscroll", gettext("determines scroll behavior when spliting windows")) 518 call <SID>AddOption("splitscroll", gettext("determines scroll behavior for split windows"))
519 call <SID>BinOptionG("spsc", &spsc) 519 call <SID>BinOptionG("spsc", &spsc)
520 call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows")) 520 call <SID>AddOption("scrollbind", gettext("this window scrolls together with other bound windows"))
521 call append("$", "\t" .. s:local_to_window) 521 call append("$", "\t" .. s:local_to_window)
522 call <SID>BinOptionL("scb") 522 call <SID>BinOptionL("scb")
523 call <SID>AddOption("scrollopt", gettext("\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'")) 523 call <SID>AddOption("scrollopt", gettext("\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'"))