aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_cmds2.h')
-rw-r--r--src/nvim/ex_cmds2.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds2.h b/src/nvim/ex_cmds2.h
index 7022591501..0a164cdeb8 100644
--- a/src/nvim/ex_cmds2.h
+++ b/src/nvim/ex_cmds2.h
@@ -7,6 +7,20 @@
typedef void (*DoInRuntimepathCB)(char_u *, void *);
+/*
+ * flags for check_changed()
+ */
+#define CCGD_AW 1 /* do autowrite if buffer was changed */
+#define CCGD_MULTWIN 2 /* check also when several wins for the buf */
+#define CCGD_FORCEIT 4 /* ! used */
+#define CCGD_ALLBUF 8 /* may write all buffers */
+#define CCGD_EXCMD 16 /* may suggest using ! */
+
+/* last argument for do_source() */
+#define DOSO_NONE 0
+#define DOSO_VIMRC 1 /* loading vimrc file */
+#define DOSO_GVIMRC 2 /* loading gvimrc file */
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ex_cmds2.h.generated.h"
#endif