summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-21 14:50:21 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-21 14:50:21 +0200
commitb4fe0eb4b4fe52a68a1df05162c03fe51c2fce79 (patch)
treeb51dac0c46871f62cfc202afd2b5835506108efc /src/feature.h
parent24582007294b0db3be9669d3b583ea45fc4f19b8 (diff)
patch 8.1.1724: too much overhead checking for CTRL-C while processing textv8.1.1724
Problem: Too much overhead checking for CTRL-C while processing text. Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built with the GUI. (suggested by Andy Massimino, closes #4708)
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index 37af4c0038..74ea8d59ca 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -483,6 +483,11 @@
# define FEAT_TEXT_PROP
#endif
+#if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME)
+// Can limit syntax highlight time to 'redrawtime'.
+# define SYN_TIME_LIMIT 1
+#endif
+
/*
* +spell spell checking
*