diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-03-05 19:35:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-03-05 19:35:25 +0100 |
commit | a245bc79b4c6b83a4b5b6cdb95c4d2165762a20b (patch) | |
tree | dbb5a71da4718b7404caf85eb3e2c1a011fa9e34 /src/vim.h | |
parent | e421450a5ef8c6327fcc9b90a5c3d6b26b274830 (diff) | |
download | vim-git-a245bc79b4c6b83a4b5b6cdb95c4d2165762a20b.tar.gz |
updated for version 7.4.654v7.4.654
Problem: glob() and globpath() cannot include links to non-existing files.
(Charles Campbell)
Solution: Add an argument to include all links with glob(). (James McCoy)
Also for globpath().
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -814,15 +814,16 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define WILD_LONGEST 7 #define WILD_ALL_KEEP 8 -#define WILD_LIST_NOTFOUND 1 -#define WILD_HOME_REPLACE 2 -#define WILD_USE_NL 4 -#define WILD_NO_BEEP 8 -#define WILD_ADD_SLASH 16 -#define WILD_KEEP_ALL 32 -#define WILD_SILENT 64 -#define WILD_ESCAPE 128 -#define WILD_ICASE 256 +#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 /* Flags for expand_wildcards() */ #define EW_DIR 0x01 /* include directory names */ @@ -839,6 +840,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define EW_KEEPDOLLAR 0x800 /* do not escape $, $var is expanded */ /* Note: mostly EW_NOTFOUND and EW_SILENT are mutually exclusive: EW_NOTFOUND * is used when executing commands and EW_SILENT for interactive expanding. */ +#define EW_ALLLINKS 0x1000 /* also links not pointing to existing file */ /* Flags for find_file_*() functions. */ #define FINDFILE_FILE 0 /* only files */ |