summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-15 23:10:59 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-15 23:10:59 +0100
commit975b5271eed4fa0500c24a8f37be0b1797cb9db7 (patch)
treee2f73f9ae91f1fce55de8757dc1599fcc169c3fe /src/feature.h
parentab1fa3955f25dfdb7e329c3bd76e175c93c8cb5e (diff)
downloadvim-git-975b5271eed4fa0500c24a8f37be0b1797cb9db7.tar.gz
patch 7.4.1578v7.4.1578
Problem: There is no way to invoke a function later or periodically. Solution: Add timer support.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index 957bbf27d..455ab20ea 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -400,6 +400,13 @@
#endif
/*
+ * +timers timer_start()
+ */
+#if defined(FEAT_RELTIME) && (defined(UNIX) || defined(WIN32))
+# define FEAT_TIMERS
+#endif
+
+/*
* +textobjects Text objects: "vaw", "das", etc.
*/
#if defined(FEAT_NORMAL) && defined(FEAT_EVAL)