forked from aniani/vim
patch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a window
Problem: When 'cmdheight' is zero pressing ':' may scroll a window. Solution: Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.
This commit is contained in:
@@ -1728,3 +1728,6 @@ EXTERN int channel_need_redraw INIT(= FALSE);
|
||||
// While executing a regexp and set to OPTION_MAGIC_ON or OPTION_MAGIC_OFF this
|
||||
// overrules p_magic. Otherwise set to OPTION_MAGIC_NOT_SET.
|
||||
EXTERN optmagic_T magic_overruled INIT(= OPTION_MAGIC_NOT_SET);
|
||||
|
||||
// Set when 'cmdheight' is changed from non-zero to one temporarily.
|
||||
EXTERN int made_cmdheight_nonzero INIT(= FALSE);
|
||||
|
Reference in New Issue
Block a user