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 /src/globals.h | |
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 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globals.h b/src/globals.h index aa0efb89a8..ebd9c59343 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1975,10 +1975,10 @@ EXTERN int channel_need_redraw INIT(= FALSE); EXTERN optmagic_T magic_overruled INIT(= OPTION_MAGIC_NOT_SET); #ifdef FEAT_CMDWIN -// Skip win_fix_cursor() call for 'nosplitscroll' when cmdwin is closed. +// Skip win_fix_cursor() call for 'splitkeep' when cmdwin is closed. EXTERN int skip_win_fix_cursor INIT(= FALSE); #endif -// Skip win_fix_scroll() call for 'nosplitscroll' when closing tab page. +// Skip win_fix_scroll() call for 'splitkeep' when closing tab page. EXTERN int skip_win_fix_scroll INIT(= FALSE); // Skip update_topline() call while executing win_fix_scroll(). EXTERN int skip_update_topline INIT(= FALSE); |