summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-08-29 12:58:44 +0200
committerBram Moolenaar <Bram@vim.org>2014-08-29 12:58:44 +0200
commite4df164692fef1a3c94149e1e2af68d44d335bf9 (patch)
tree983243c06916767b26eac240452e4a6d46e2994a /src/vim.h
parent49f9dd7b916fb32bfd0cc9a50f8c4f9bb1bb760b (diff)
downloadvim-git-e4df164692fef1a3c94149e1e2af68d44d335bf9.tar.gz
updated for version 7.4.423v7.4.423
Problem: expand("$shell") does not work as documented. Solution: Do not escape the $ when expanding environment variables.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index cb2a9e5b3..2a6d9a044 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -835,6 +835,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
#define EW_ICASE 0x100 /* ignore case */
#define EW_NOERROR 0x200 /* no error for bad regexp */
#define EW_NOTWILD 0x400 /* add match with literal name if exists */
+#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. */