summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-12 11:25:11 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-12 11:25:11 +0000
commit58ef8a31d7087d495ab1582be5b7a22796ac2451 (patch)
treedbae171d4c49dbe2ba7e89ef94561fa357610e72 /src/ex_cmds.h
parent0c71114aede81a209b7efc126b4bf19f11d58955 (diff)
downloadvim-git-58ef8a31d7087d495ab1582be5b7a22796ac2451.tar.gz
patch 8.2.3584: "verbose set efm" reports location of the :compiler commandv8.2.3584
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.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r--src/ex_cmds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 1ea74422c..35080dbc6 100644
--- 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