diff options
author | Daniel Hahler <git@thequod.de> | 2019-09-26 09:15:21 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-10-04 08:48:57 +0200 |
commit | a341eb608706e5e8ac691a7e8f4a9d314bafee20 (patch) | |
tree | 2a18de092fab445c378ce157962f6a41c65386f1 /src/nvim/option_defs.h | |
parent | cd73a0342a457c035b84e4406428ac30b30bf754 (diff) | |
download | rneovim-a341eb608706e5e8ac691a7e8f4a9d314bafee20.tar.gz rneovim-a341eb608706e5e8ac691a7e8f4a9d314bafee20.tar.bz2 rneovim-a341eb608706e5e8ac691a7e8f4a9d314bafee20.zip |
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 in 23c71d5 `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.
Diffstat (limited to 'src/nvim/option_defs.h')
-rw-r--r-- | src/nvim/option_defs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h index 108a3dde7c..67cb53ce02 100644 --- a/src/nvim/option_defs.h +++ b/src/nvim/option_defs.h @@ -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' |