Mercurial > vim
diff src/globals.h @ 30624:f2f35161d75a v9.0.0647
patch 9.0.0647: the 'splitscroll' option is not a good name
Commit: https://github.com/vim/vim/commit/13ece2ae1d09009d3fb8acf858c288e7848ecdac
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Mon Oct 3 15:28:08 2022 +0100
patch 9.0.0647: the 'splitscroll' option is not a good name
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 Oct 2022 16:30:04 +0200 |
parents | 72e6073a2822 |
children | 101f08b49ed3 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -1975,10 +1975,10 @@ EXTERN int channel_need_redraw INIT(= FA 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);