blob: 73db378bf99f4de4b830c913f3fe21bb1da5798f [file] [log] [blame]
Bram Moolenaar66b51422019-08-18 21:44:12 +02001/* cmdexpand.c */
Yegappan Lakshmanan38b85cb2022-02-24 13:28:41 +00002int cmdline_fuzzy_complete(char_u *fuzzystr);
Bram Moolenaar66b51422019-08-18 21:44:12 +02003int nextwild(expand_T *xp, int type, int options, int escape);
Yegappan Lakshmanan3908ef52022-02-08 12:08:07 +00004void cmdline_pum_display(void);
5int cmdline_pum_active(void);
zeertzjq1830e782025-03-13 20:29:13 +01006void cmdline_pum_remove(cmdline_info_T *cclp);
Yegappan Lakshmanan3908ef52022-02-08 12:08:07 +00007void cmdline_pum_cleanup(cmdline_info_T *cclp);
8int cmdline_compl_startcol(void);
zeertzjqd8c93402024-06-17 18:25:32 +02009char_u *cmdline_compl_pattern(void);
10int cmdline_compl_is_fuzzy(void);
Bram Moolenaard21e5bd2022-06-27 22:52:43 +010011char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode);
12void ExpandInit(expand_T *xp);
13void ExpandCleanup(expand_T *xp);
Bram Moolenaar66b51422019-08-18 21:44:12 +020014int showmatches(expand_T *xp, int wildmenu);
Bram Moolenaar66b51422019-08-18 21:44:12 +020015char_u *addstar(char_u *fname, int len, int context);
Shougo Matsushita79d599b2022-05-07 12:48:29 +010016void set_expand_context(expand_T *xp);
Bram Moolenaard21e5bd2022-06-27 22:52:43 +010017void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
Bram Moolenaar66b51422019-08-18 21:44:12 +020018int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
Christian Brabandt6a950da2024-01-01 20:18:36 +010019int ExpandGeneric(char_u *pat, expand_T *xp, regmatch_T *regmatch, char_u ***matches, int *numMatches, char_u *((*func)(expand_T *, int)), int escaped);
Yee Cheng China7b81202025-02-23 09:32:47 +010020int ExpandGenericExt(char_u *pat, expand_T *xp, regmatch_T *regmatch, char_u ***matches, int *numMatches, char_u *((*func)(expand_T *, int)), int escaped, int sortStartIdx);
zeertzjq3770f4c2023-01-22 18:38:51 +000021void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options, int dirs);
Bram Moolenaareadee482020-09-04 15:37:31 +020022int wildmenu_translate_key(cmdline_info_T *cclp, int key, expand_T *xp, int did_wild_list);
23int wildmenu_process_key(cmdline_info_T *cclp, int key, expand_T *xp);
24void wildmenu_cleanup(cmdline_info_T *cclp);
Bram Moolenaar66b51422019-08-18 21:44:12 +020025void f_getcompletion(typval_T *argvars, typval_T *rettv);
Girish Palya92f68e22025-04-21 11:12:41 +020026void f_cmdcomplete_info(typval_T *argvars UNUSED, typval_T *rettv);
Bram Moolenaar66b51422019-08-18 21:44:12 +020027/* vim: set ft=c : */