mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
win_line: update w_last_cursorline
always
Vim patch 8.1.0856 (54d9ea6
) caused a performance regression in Neovim, when `set conceallevel=1 nocursorline` was used, since then due to refactoring in23c71d5
`w_last_cursorline` would never get updated anymore. Adds/uses `redrawdebug+=nodelta` for testing this. Fixes https://github.com/neovim/neovim/issues/11100. Closes https://github.com/neovim/neovim/pull/11101.
This commit is contained in:
@@ -518,11 +518,18 @@ EXTERN long p_pyx; // 'pyxversion'
|
||||
EXTERN char_u *p_rdb; // 'redrawdebug'
|
||||
EXTERN unsigned rdb_flags;
|
||||
# ifdef IN_OPTION_C
|
||||
static char *(p_rdb_values[]) = { "compositor", "nothrottle", "invalid", NULL };
|
||||
static char *(p_rdb_values[]) = {
|
||||
"compositor",
|
||||
"nothrottle",
|
||||
"invalid",
|
||||
"nodelta",
|
||||
NULL
|
||||
};
|
||||
# endif
|
||||
# define RDB_COMPOSITOR 0x001
|
||||
# define RDB_NOTHROTTLE 0x002
|
||||
# define RDB_INVALID 0x004
|
||||
# define RDB_NODELTA 0x008
|
||||
|
||||
EXTERN long p_rdt; // 'redrawtime'
|
||||
EXTERN int p_remap; // 'remap'
|
||||
|
Reference in New Issue
Block a user