summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-19 12:27:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-19 12:27:45 +0100
commit6f0cf62df97ee7c9d26b550adaf469be7fe1e09a (patch)
tree63643f97fa774d3cff85c9148bd5d55719cb22d5 /src/globals.h
parentcdc6a43559d5b880f81efceb849f40c20af1ada1 (diff)
patch 8.2.5128: syntax disabled when using synID() in searchpair() skip exprv8.2.5128
Problem: Syntax highlighting disabled when using synID() in searchpair() skip expression and it times out. (Jaehwang Jung) Solution: Add the redrawtime_limit_set flag. (closes #10562)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 63377af5b1..888f6e95dd 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1228,6 +1228,10 @@ EXTERN int do_redraw INIT(= FALSE); // extra redraw once
#ifdef FEAT_DIFF
EXTERN int need_diff_redraw INIT(= 0); // need to call diff_redraw()
#endif
+#ifdef FEAT_RELTIME
+// flag set when 'redrawtime' timeout has been set
+EXTERN int redrawtime_limit_set INIT(= FALSE);
+#endif
EXTERN int need_highlight_changed INIT(= TRUE);