aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawscreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/drawscreen.h')
-rw-r--r--src/nvim/drawscreen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/drawscreen.h b/src/nvim/drawscreen.h
index 1f6f41fae2..f804345bca 100644
--- a/src/nvim/drawscreen.h
+++ b/src/nvim/drawscreen.h
@@ -21,6 +21,10 @@ enum {
/// ('lines' and 'rows') must not be changed.
EXTERN bool updating_screen INIT( = false);
+/// While computing a statusline and the like we do not want any w_redr_type or
+/// must_redraw to be set.
+EXTERN bool redraw_not_allowed INIT( = false);
+
EXTERN match_T screen_search_hl INIT( = { 0 }); ///< used for 'hlsearch' highlight matching
#define W_ENDCOL(wp) ((wp)->w_wincol + (wp)->w_width)