diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-19 16:48:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-19 16:48:48 +0200 |
commit | 4c13721482d7786f92f5a56e43b0f5c499264b7e (patch) | |
tree | 2aae28c81b61721cb9ecc5d9aee66bb51d67e371 /src/proto/ex_cmds.pro | |
parent | e8209b91b9974da95899b51dba4058b411d04d5b (diff) |
patch 8.2.2784: Vim9: cannot use \=expr in :substitutev8.2.2784
Problem: Vim9: cannot use \=expr in :substitute.
Solution: Compile the expression into instructions and execute them when
invoked.
Diffstat (limited to 'src/proto/ex_cmds.pro')
-rw-r--r-- | src/proto/ex_cmds.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/ex_cmds.pro b/src/proto/ex_cmds.pro index 9036dd205b..1711af4537 100644 --- a/src/proto/ex_cmds.pro +++ b/src/proto/ex_cmds.pro @@ -27,6 +27,7 @@ void ex_change(exarg_T *eap); void ex_z(exarg_T *eap); int check_restricted(void); int check_secure(void); +char_u *skip_substitute(char_u *start, int delimiter); void ex_substitute(exarg_T *eap); int do_sub_msg(int count_only); void ex_global(exarg_T *eap); |