summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-21 14:37:09 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-21 14:37:09 +0200
commite2c453d38f6512ac4cff7cd26aa7780b4e2534d7 (patch)
tree8458a35d59ac43121bfd2d24d5e9f7f54969d0dc /src/feature.h
parentd933c82ff4e2c910bd533ed9a50377699c3f5ec9 (diff)
patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/feature.h b/src/feature.h
index 1c5128a7d6..8afa98797a 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -106,6 +106,7 @@
* +user_commands Allow the user to define his own commands.
* +multi_byte Generic multi-byte character handling.
* +cmdline_compl completion of mappings/abbreviations in cmdline mode.
+ * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode.
*
* Obsolete:
* +tag_old_static Old style static tags: "file:tag file ..".
@@ -170,14 +171,6 @@
# define FEAT_KEYMAP
#endif
-/*
- * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. Takes about
- * 4Kbyte of code.
- */
-#ifdef FEAT_NORMAL
-# define FEAT_INS_EXPAND
-#endif
-
#ifdef FEAT_NORMAL
# define VIM_BACKTICK /* internal backtick expansion */
#endif
@@ -343,7 +336,7 @@
/*
* Insert mode completion with 'completefunc'.
*/
-#if defined(FEAT_INS_EXPAND) && defined(FEAT_EVAL)
+#if defined(FEAT_EVAL)
# define FEAT_COMPL_FUNC
#endif
@@ -621,7 +614,7 @@
/*
* popup menu in a terminal
*/
-#if defined(FEAT_MENU) && !defined(ALWAYS_USE_GUI) && defined(FEAT_INS_EXPAND)
+#if defined(FEAT_MENU) && !defined(ALWAYS_USE_GUI)
# define FEAT_TERM_POPUP_MENU
#endif