comparison src/ex_cmds2.c @ 13551:1fd0f8392946 v8.0.1649

patch 8.0.1649: no completion for argument list commands commit https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 29 15:55:38 2018 +0200 patch 8.0.1649: no completion for argument list commands Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/2706)
author Christian Brabandt <cb@256bit.org>
date Thu, 29 Mar 2018 16:00:07 +0200
parents 33eea5ce5415
children 04019fc3de93
comparison
equal deleted inserted replaced
13550:30faaab193e0 13551:1fd0f8392946
3312 return -1; 3312 return -1;
3313 } 3313 }
3314 3314
3315 #endif /* FEAT_LISTCMDS */ 3315 #endif /* FEAT_LISTCMDS */
3316 3316
3317 #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
3318 /*
3319 * Function given to ExpandGeneric() to obtain the possible arguments of the
3320 * argedit and argdelete commands.
3321 */
3322 char_u *
3323 get_arglist_name(expand_T *xp UNUSED, int idx)
3324 {
3325 if (idx >= ARGCOUNT)
3326 return NULL;
3327
3328 return alist_name(&ARGLIST[idx]);
3329 }
3330 #endif
3331
3317 #ifdef FEAT_EVAL 3332 #ifdef FEAT_EVAL
3318 /* 3333 /*
3319 * ":compiler[!] {name}" 3334 * ":compiler[!] {name}"
3320 */ 3335 */
3321 void 3336 void