summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-02 19:52:15 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-02 19:52:15 +0200
commit50f91d22bd81819d5d946f6c38252c7922120ec6 (patch)
treed912f1df29edd7983c990f5a64049ba71a4be6b8 /src/vim.h
parent8750026a7f6b445c43adc990141a3fe92d680b62 (diff)
downloadvim-git-50f91d22bd81819d5d946f6c38252c7922120ec6.tar.gz
patch 8.1.1791: 'completeslash' also applies to globpath()v8.1.1791
Problem: 'completeslash' also applies to globpath(). Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro Matsumoto, closes #4760)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/vim.h b/src/vim.h
index 99ffc10b7..6f7a11d63 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -785,16 +785,17 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
#define WILD_LONGEST 7
#define WILD_ALL_KEEP 8
-#define WILD_LIST_NOTFOUND 0x01
-#define WILD_HOME_REPLACE 0x02
-#define WILD_USE_NL 0x04
-#define WILD_NO_BEEP 0x08
-#define WILD_ADD_SLASH 0x10
-#define WILD_KEEP_ALL 0x20
-#define WILD_SILENT 0x40
-#define WILD_ESCAPE 0x80
-#define WILD_ICASE 0x100
-#define WILD_ALLLINKS 0x200
+#define WILD_LIST_NOTFOUND 0x01
+#define WILD_HOME_REPLACE 0x02
+#define WILD_USE_NL 0x04
+#define WILD_NO_BEEP 0x08
+#define WILD_ADD_SLASH 0x10
+#define WILD_KEEP_ALL 0x20
+#define WILD_SILENT 0x40
+#define WILD_ESCAPE 0x80
+#define WILD_ICASE 0x100
+#define WILD_ALLLINKS 0x200
+#define WILD_IGNORE_COMPLETESLASH 0x400
// Flags for expand_wildcards()
#define EW_DIR 0x01 // include directory names