diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-24 23:00:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-24 23:00:18 +0200 |
commit | 822ba24743af9ee1b5e7f656a7a61a38f3638bca (patch) | |
tree | 7fb853a5f43c2d2682b4c9fd55a0e257e95d2446 /src/ex_docmd.c | |
parent | f7271e831614d15d173c7f562cc26f48c2554ce9 (diff) | |
download | vim-git-822ba24743af9ee1b5e7f656a7a61a38f3638bca.tar.gz |
patch 8.2.0818: Vim9: using a discovery phase doesn't work wellv8.2.0818
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 5447b7419..3d590e557 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -273,6 +273,8 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name); # define ex_continue ex_ni # define ex_debug ex_ni # define ex_debuggreedy ex_ni +# define ex_def ex_ni +# define ex_defcompile ex_ni # define ex_delfunction ex_ni # define ex_disassemble ex_ni # define ex_echo ex_ni |