0
0
mirror of https://github.com/vim/vim.git synced 2025-10-10 06:24:10 -04:00

patch 8.2.4348: "legacy exe cmd" does not do what one would expect

Problem:    "legacy exe cmd" does not do what one would expect.
Solution:   Apply the "legacy" and "vim9script" command modifiers to the
            argument of ":execute".
This commit is contained in:
Bram Moolenaar
2022-02-11 20:33:48 +00:00
parent bd89d44063
commit 5b1d6e98c6
6 changed files with 42 additions and 5 deletions

View File

@@ -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 (;;)