Mercurial > vim
diff src/proto/cmdexpand.pro @ 28757:add09d468c0d v8.2.4903
patch 8.2.4903: cannot get the current cmdline completion type and position
Commit: https://github.com/vim/vim/commit/79d599b8772022af1d657f368c2fc97aa342c0da
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Sat May 7 12:48:29 2022 +0100
patch 8.2.4903: cannot get the current cmdline completion type and position
Problem: Cannot get the current cmdline completion type and position.
Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
closes #10344)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 14:00:02 +0200 |
parents | ae38d2e81fca |
children | f103da6ba95f |
line wrap: on
line diff
--- a/src/proto/cmdexpand.pro +++ b/src/proto/cmdexpand.pro @@ -13,6 +13,7 @@ int showmatches(expand_T *xp, int wildme char_u *sm_gettail(char_u *s); char_u *addstar(char_u *fname, int len, int context); void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); +void set_expand_context(expand_T *xp); int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options); int wildmenu_translate_key(cmdline_info_T *cclp, int key, expand_T *xp, int did_wild_list);