aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdexpand.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-08-30 23:29:44 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-08-30 23:29:44 -0600
commit442d4e54c30b8e193e3f6e4d32b43e96815bccd7 (patch)
treeb52e341e7db3d2428d8762a7ecf9b58dd84ff6c4 /src/nvim/cmdexpand.h
parent8436383af96dc7afa3596fc22c012d68e76f47f8 (diff)
parentf4274d0f62625683486d3912dcd6e8e45877c6a4 (diff)
downloadrneovim-442d4e54c30b8e193e3f6e4d32b43e96815bccd7.tar.gz
rneovim-442d4e54c30b8e193e3f6e4d32b43e96815bccd7.tar.bz2
rneovim-442d4e54c30b8e193e3f6e4d32b43e96815bccd7.zip
Merge remote-tracking branch 'upstream/master' into usermarks
Diffstat (limited to 'src/nvim/cmdexpand.h')
-rw-r--r--src/nvim/cmdexpand.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/nvim/cmdexpand.h b/src/nvim/cmdexpand.h
new file mode 100644
index 0000000000..93e91af169
--- /dev/null
+++ b/src/nvim/cmdexpand.h
@@ -0,0 +1,44 @@
+#ifndef NVIM_CMDEXPAND_H
+#define NVIM_CMDEXPAND_H
+
+#include "nvim/eval/typval.h"
+#include "nvim/ex_getln.h"
+#include "nvim/garray.h"
+#include "nvim/types.h"
+
+// Values for nextwild() and ExpandOne(). See ExpandOne() for meaning.
+
+enum {
+ WILD_FREE = 1,
+ WILD_EXPAND_FREE = 2,
+ WILD_EXPAND_KEEP = 3,
+ WILD_NEXT = 4,
+ WILD_PREV = 5,
+ WILD_ALL = 6,
+ WILD_LONGEST = 7,
+ WILD_ALL_KEEP = 8,
+ WILD_CANCEL = 9,
+ WILD_APPLY = 10,
+};
+
+enum {
+ WILD_LIST_NOTFOUND = 0x01,
+ WILD_HOME_REPLACE = 0x02,
+ WILD_USE_NL = 0x04,
+ WILD_NO_BEEP = 0x08,
+ WILD_ADD_SLASH = 0x10,
+ WILD_KEEP_ALL = 0x20,
+ WILD_SILENT = 0x40,
+ WILD_ESCAPE = 0x80,
+ WILD_ICASE = 0x100,
+ WILD_ALLLINKS = 0x200,
+ WILD_IGNORE_COMPLETESLASH = 0x400,
+ WILD_NOERROR = 0x800, ///< sets EW_NOERROR
+ WILD_BUFLASTUSED = 0x1000,
+ BUF_DIFF_FILTER = 0x2000,
+};
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "cmdexpand.h.generated.h"
+#endif
+#endif // NVIM_CMDEXPAND_H