summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-11 20:33:48 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-11 20:33:48 +0000
commit5b1d6e98c6610553fe3946086cdba77718bd69d5 (patch)
treeeaf6cc403e6f80de9a36b892c260c967d26e419b /src/ex_docmd.c
parentbd89d4406327d3a30517443a4a518f49ebc99368 (diff)
patch 8.2.4348: "legacy exe cmd" does not do what one would expectv8.2.4348
Problem: "legacy exe cmd" does not do what one would expect. Solution: Apply the "legacy" and "vim9script" command modifiers to the argument of ":execute".
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 4003605537..864f3d845d 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2786,6 +2786,7 @@ parse_command_modifiers(
int starts_with_colon = FALSE;
CLEAR_POINTER(cmod);
+ cmod->cmod_flags = sticky_cmdmod_flags;
// Repeat until no more command modifiers are found.
for (;;)