aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-06-06 19:24:42 +0800
committerGitHub <noreply@github.com>2023-06-06 19:24:42 +0800
commit7b973c71ea845c9bcc6d98e101ad5a7956cb5802 (patch)
tree2c9a87be4e34d0a42c1a7359424ee04db6d32de5 /src/nvim/buffer_defs.h
parent780ab11b90119fb9b91d3266d6eef459228edc9a (diff)
downloadrneovim-7b973c71ea845c9bcc6d98e101ad5a7956cb5802.tar.gz
rneovim-7b973c71ea845c9bcc6d98e101ad5a7956cb5802.tar.bz2
rneovim-7b973c71ea845c9bcc6d98e101ad5a7956cb5802.zip
fix(statusline): redraw when VIsual_mode changes (#23933)
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index f3f98bbd17..e3e457cea6 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -1292,8 +1292,9 @@ struct window_S {
linenr_T w_stl_line_count; // line count when last redrawn
int w_stl_topfill; // topfill when last redrawn
char w_stl_empty; // true if elements show 0-1 (empty line)
- int w_stl_state; // State when last redrawn
int w_stl_recording; // reg_recording when last redrawn
+ int w_stl_state; // get_real_state() when last redrawn
+ int w_stl_visual_mode; // VIsual_mode when last redrawn
int w_alt_fnum; // alternate file (for # and CTRL-^)