diff src/globals.h @ 27645:1712b102d642 v8.2.4348

patch 8.2.4348: "legacy exe cmd" does not do what one would expect Commit: https://github.com/vim/vim/commit/5b1d6e98c6610553fe3946086cdba77718bd69d5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 11 20:33:48 2022 +0000 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".
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Feb 2022 21:45:03 +0100
parents 93d4ee1e6113
children 0ed38a4e028d
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -1156,6 +1156,7 @@ EXTERN int	mapped_ctrl_c INIT(= FALSE); 
 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}