diff src/feature.h @ 17452:f12745505a23 v8.1.1724

patch 8.1.1724: too much overhead checking for CTRL-C while processing text commit https://github.com/vim/vim/commit/b4fe0eb4b4fe52a68a1df05162c03fe51c2fce79 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 21 14:50:21 2019 +0200 patch 8.1.1724: too much overhead checking for CTRL-C while processing text 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jul 2019 15:00:07 +0200
parents dcc4120f8412
children 554240b9574b
line wrap: on
line diff
--- 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
  *