aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/path.h
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-18 15:35:13 +0100
committerFlorian Walch <florian@fwalch.com>2014-12-18 15:41:27 +0100
commitc780075afad41fd4de30212845becdca83c4dd7c (patch)
tree1265077e1cfb6c3bb798be95d5b2319e72a0c81f /src/nvim/path.h
parent1eef5303514a8499fd376270bd89a40e2d3eafbb (diff)
downloadrneovim-c780075afad41fd4de30212845becdca83c4dd7c.tar.gz
rneovim-c780075afad41fd4de30212845becdca83c4dd7c.tar.bz2
rneovim-c780075afad41fd4de30212845becdca83c4dd7c.zip
vim-patch:7.4.423
Problem: expand("$shell") does not work as documented. Solution: Do not escape the $ when expanding environment variables. https://code.google.com/p/vim/source/detail?r=v7-4-423
Diffstat (limited to 'src/nvim/path.h')
-rw-r--r--src/nvim/path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/path.h b/src/nvim/path.h
index 9a994f3477..628ea335ed 100644
--- a/src/nvim/path.h
+++ b/src/nvim/path.h
@@ -17,6 +17,7 @@
#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. */