diff options
author | Hinidu <hinidu@gmail.com> | 2014-04-11 23:28:37 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-28 13:08:54 -0400 |
commit | 7c188b549844b7834e2b7f55749eaddef9307431 (patch) | |
tree | 3b4913048d50330ca6859234bad0adf6b29b9e07 | |
parent | ceb069116f8f4a40bf6b7288f5db322ac7e19f3a (diff) | |
download | rneovim-7c188b549844b7834e2b7f55749eaddef9307431.tar.gz rneovim-7c188b549844b7834e2b7f55749eaddef9307431.tar.bz2 rneovim-7c188b549844b7834e2b7f55749eaddef9307431.zip |
Remove FEAT_CMDL_COMPL
Completion of mappings/abbreviations in command line mode
-rw-r--r-- | config/config.h.in | 1 | ||||
-rw-r--r-- | src/nvim/eval.c | 3 | ||||
-rw-r--r-- | src/nvim/menu.c | 3 | ||||
-rw-r--r-- | src/nvim/syntax.c | 3 |
4 files changed, 1 insertions, 9 deletions
diff --git a/config/config.h.in b/config/config.h.in index 3ab6c24327..2cb268f71e 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -104,7 +104,6 @@ #define FEAT_BROWSE #define FEAT_BROWSE_CMD #define FEAT_CMDHIST -#define FEAT_CMDL_COMPL #define FEAT_CMDL_INFO #define FEAT_CMDWIN #define FEAT_COMMENTS diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 95fb6ed732..fdd74a069b 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -1554,8 +1554,7 @@ call_func_retnr ( return retval; } -#if (defined(FEAT_USR_CMDS) && defined(FEAT_CMDL_COMPL)) \ - || defined(FEAT_COMPL_FUNC) || defined(PROTO) +#if defined(FEAT_USR_CMDS) || defined(FEAT_COMPL_FUNC) || defined(PROTO) /* * Call vimL function "func" and return the result as a string. diff --git a/src/nvim/menu.c b/src/nvim/menu.c index f71c1a351d..44ae72a3dd 100644 --- a/src/nvim/menu.c +++ b/src/nvim/menu.c @@ -1274,8 +1274,6 @@ static int menu_is_hidden(char_u *name) return (name[0] == ']') || (menu_is_popup(name) && name[5] != NUL); } -#if defined(FEAT_CMDL_COMPL) \ - || (defined(FEAT_GUI_W32) && defined(FEAT_TEAROFF)) /* * Return TRUE if the menu is the tearoff menu. */ @@ -1283,7 +1281,6 @@ static int menu_is_tearoff(char_u *name) { return FALSE; } -#endif diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index ccc6752793..746fbac0e8 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -7756,8 +7756,6 @@ static void highlight_list_two(int cnt, int attr) } -#if defined(FEAT_CMDL_COMPL) || (defined(FEAT_SYN_HL) && defined(FEAT_EVAL)) \ - || defined(FEAT_SIGNS) || defined(PROTO) /* * Function given to ExpandGeneric() to obtain the list of group names. * Also used for synIDattr() function. @@ -7779,7 +7777,6 @@ char_u *get_highlight_name(expand_T *xp, int idx) return NULL; return HL_TABLE()[idx].sg_name; } -#endif /************************************** |