1
0
forked from aniani/vim

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

@@ -1156,6 +1156,7 @@ EXTERN int mapped_ctrl_c INIT(= FALSE); // modes where CTRL-C is mapped
EXTERN int ctrl_c_interrupts INIT(= TRUE); // CTRL-C sets got_int
EXTERN cmdmod_T cmdmod; // Ex command modifiers
EXTERN int sticky_cmdmod_flags INIT(= 0); // used by :execute
#ifdef FEAT_EVAL
EXTERN int is_export INIT(= FALSE); // :export {cmd}