Mercurial > vim
diff src/option.c @ 3359:20ca2e05ae20 v7.3.446
updated for version 7.3.446
Problem: Win32: External commands with special characters don't work.
Solution: Add the 'shellxescape' option.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 20 Feb 2012 22:18:30 +0100 |
parents | 397e7e49bb0b |
children | da670fb71d30 |
line wrap: on
line diff
--- 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},