summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-20 22:18:30 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-20 22:18:30 +0100
commitf66b3fcf6ce2801e3f378827e0ed19596901a9ba (patch)
tree46a1543aae183a8b03ce18b3572d57e04656e3f2 /src/option.c
parent034b115568a1fc40b374b0b755d89f0a40f6d940 (diff)
downloadvim-git-f66b3fcf6ce2801e3f378827e0ed19596901a9ba.tar.gz
updated for version 7.3.446v7.3.446
Problem: Win32: External commands with special characters don't work. Solution: Add the 'shellxescape' option.
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c
index cac031e18..0cea5586a 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2273,6 +2273,15 @@ static struct vimoption
(char_u *)"",
#endif
(char_u *)0L} SCRIPTID_INIT},
+ {"shellxescape", "sxe", P_STRING|P_VI_DEF|P_SECURE,
+ (char_u *)&p_sxe, PV_NONE,
+ {
+#if defined(MSDOS) || defined(WIN16) || defined(WIN3264)
+ (char_u *)"\"&|<>()@^",
+#else
+ (char_u *)"",
+#endif
+ (char_u *)0L} SCRIPTID_INIT},
{"shiftround", "sr", P_BOOL|P_VI_DEF|P_VIM,
(char_u *)&p_sr, PV_NONE,
{(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},