Mercurial > vim
comparison src/proto/ex_docmd.pro @ 24124:f4061617c438 v8.2.2603
patch 8.2.2603: Vim9: no effect if user command is also a function
Commit: https://github.com/vim/vim/commit/77b10ffad4ebad15022614be4db2745f6a90f405
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 14 13:21:35 2021 +0100
patch 8.2.2603: Vim9: no effect if user command is also a function
Problem: Vim9: no effect if user command is also a function.
Solution: Check for paren following. (closes https://github.com/vim/vim/issues/7960)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Mar 2021 13:30:03 +0100 |
parents | 09bde146adcb |
children | a2e6029d354e |
comparison
equal
deleted
inserted
replaced
24123:d97cddd9f357 | 24124:f4061617c438 |
---|---|
11 void apply_cmdmod(cmdmod_T *cmod); | 11 void apply_cmdmod(cmdmod_T *cmod); |
12 void undo_cmdmod(cmdmod_T *cmod); | 12 void undo_cmdmod(cmdmod_T *cmod); |
13 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); | 13 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); |
14 int checkforcmd(char_u **pp, char *cmd, int len); | 14 int checkforcmd(char_u **pp, char *cmd, int len); |
15 char_u *skip_option_env_lead(char_u *start); | 15 char_u *skip_option_env_lead(char_u *start); |
16 char_u *find_ex_command(exarg_T *eap, int *full, int (*lookup)(char_u *, size_t, cctx_T *), cctx_T *cctx); | 16 char_u *find_ex_command(exarg_T *eap, int *full, int (*lookup)(char_u *, size_t, int cmd, cctx_T *), cctx_T *cctx); |
17 int modifier_len(char_u *cmd); | 17 int modifier_len(char_u *cmd); |
18 int cmd_exists(char_u *name); | 18 int cmd_exists(char_u *name); |
19 void f_fullcommand(typval_T *argvars, typval_T *rettv); | 19 void f_fullcommand(typval_T *argvars, typval_T *rettv); |
20 cmdidx_T excmd_get_cmdidx(char_u *cmd, int len); | 20 cmdidx_T excmd_get_cmdidx(char_u *cmd, int len); |
21 long excmd_get_argt(cmdidx_T idx); | 21 long excmd_get_argt(cmdidx_T idx); |