diff src/ex_cmds.h @ 26103:d079ab2ba260 v8.2.3584

patch 8.2.3584: "verbose set efm" reports location of the :compiler command Commit: https://github.com/vim/vim/commit/58ef8a31d7087d495ab1582be5b7a22796ac2451 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 12 11:25:11 2021 +0000 patch 8.2.3584: "verbose set efm" reports location of the :compiler command Problem: "verbose set efm" reports the location of the :compiler command. (Gary Johnson) Solution: Add the "-keepscript" argument to :command and use it when defining CompilerSet.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Nov 2021 12:30:05 +0100
parents 0f93e9423890
children ce891b60bdcd
line wrap: on
line diff
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -56,6 +56,7 @@
 				// set; when missing disallows editing another
 				// buffer when curbuf_lock is set
 #define EX_NONWHITE_OK 0x2000000  // command can be followed by non-white
+#define EX_KEEPSCRIPT  0x4000000  // keep sctx of where command was invoked
 
 #define EX_FILES (EX_XFILE | EX_EXTRA)	// multiple extra files allowed
 #define EX_FILE1 (EX_FILES | EX_NOSPC)	// 1 file, defaults to current file