diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-18 19:53:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-18 19:53:28 +0200 |
commit | a26b9700d73ebccd6c5459d0d66032a4249f6b72 (patch) | |
tree | 2b7c7a0dfe64a8c707f36ce107dab9660adca200 /src/usercmd.c | |
parent | b6fb0516ec862a18fdffe06c9400d507a7193835 (diff) | |
download | vim-git-a26b9700d73ebccd6c5459d0d66032a4249f6b72.tar.gz |
patch 8.2.0595: Vim9: not all commands using ends_excmd() testedv8.2.0595
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
Diffstat (limited to 'src/usercmd.c')
-rw-r--r-- | src/usercmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usercmd.c b/src/usercmd.c index e903e6b4c..fc14430b6 100644 --- a/src/usercmd.c +++ b/src/usercmd.c @@ -1663,6 +1663,7 @@ do_ucmd(exarg_T *eap) #ifdef FEAT_EVAL current_sctx.sc_sid = cmd->uc_script_ctx.sc_sid; + current_sctx.sc_version = cmd->uc_script_ctx.sc_version; #endif (void)do_cmdline(buf, eap->getline, eap->cookie, DOCMD_VERBOSE|DOCMD_NOWAIT|DOCMD_KEYTYPED); |