summaryrefslogtreecommitdiffstats
path: root/src/proto/usercmd.pro
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-02-16 12:44:29 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-16 12:44:29 +0000
commitb31aec3b9387ed12677dca09069c3ae98c6c7447 (patch)
tree5855230aa79d06471234f4d7627cb8a3003f77a3 /src/proto/usercmd.pro
parent34f8117dec685ace52cd9e578e2729db278163fc (diff)
patch 8.2.4398: some command completion functions are too longv8.2.4398
Problem: Some command completion functions are too long. Solution: Refactor code into separate functions. Add a few more tests. (Yegappan Lakshmanan, closes #9785)
Diffstat (limited to 'src/proto/usercmd.pro')
-rw-r--r--src/proto/usercmd.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/usercmd.pro b/src/proto/usercmd.pro
index 2016c6b500..8eda5a30f6 100644
--- a/src/proto/usercmd.pro
+++ b/src/proto/usercmd.pro
@@ -1,5 +1,6 @@
/* usercmd.c */
char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp);
+char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long argt, int compl, expand_T *xp, int forceit);
char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in);
char_u *expand_user_command_name(int idx);
char_u *get_user_commands(expand_T *xp, int idx);