]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1710: scrolloff options work slightly different v9.0.1710
authorChristian Brabandt <cb@256bit.org>
Sun, 13 Aug 2023 17:43:42 +0000 (19:43 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 13 Aug 2023 17:43:42 +0000 (19:43 +0200)
commit4a8eb6e7a9df10f79bf95301ced012f0d6a13088
tree711e5d8845667ef5a03c73926f66a4708c86e3ed
parente5e4709a6ac02dc2a17bd6e4d02e799269ba5ea9
patch 9.0.1710: scrolloff options work slightly different

Problem: sidescrolloff and scrolloff options work slightly
         different than other global-local options
Solution: Make it behave consistent for all global-local options

It was noticed, that sidescrolloff and scrolloff options behave
differently in comparison to other global-local window options like
'listchars'

So make those two behave like other global-local options. Also add some
extra documentation for a few special local-window options.

Add a few tests to make sure all global-local window options behave
similar

closes: #12956
closes: #12643

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt
runtime/doc/tags
src/option.c
src/structs.h
src/testdir/test_options.vim
src/version.c
src/window.c