Remove FEAT_CMDL_COMPL

Completion of mappings/abbreviations in command line mode
This commit is contained in:
Hinidu
2014-04-11 23:28:37 +03:00
committed by Justin M. Keyes
parent ceb069116f
commit 7c188b5498
4 changed files with 1 additions and 9 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -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
/**************************************