mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
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.
6747cf1671
This commit is contained in:

committed by
zeertzjq

parent
81a1d26c3e
commit
63244f68e7
@@ -1084,4 +1084,7 @@ EXTERN char windowsVersion[20] INIT(= { 0 });
|
||||
|
||||
EXTERN int exit_need_delay INIT(= 0);
|
||||
|
||||
// Set when 'cmdheight' is changed from non-zero to one temporarily.
|
||||
EXTERN int made_cmdheight_nonzero INIT(= false);
|
||||
|
||||
#endif // NVIM_GLOBALS_H
|
||||
|
Reference in New Issue
Block a user