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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user