Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
3358:25b3106f17bd | 3359:20ca2e05ae20 |
---|---|
2267 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE, | 2267 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE, |
2268 (char_u *)&p_sxq, PV_NONE, | 2268 (char_u *)&p_sxq, PV_NONE, |
2269 { | 2269 { |
2270 #if defined(UNIX) && defined(USE_SYSTEM) && !defined(__EMX__) | 2270 #if defined(UNIX) && defined(USE_SYSTEM) && !defined(__EMX__) |
2271 (char_u *)"\"", | 2271 (char_u *)"\"", |
2272 #else | |
2273 (char_u *)"", | |
2274 #endif | |
2275 (char_u *)0L} SCRIPTID_INIT}, | |
2276 {"shellxescape", "sxe", P_STRING|P_VI_DEF|P_SECURE, | |
2277 (char_u *)&p_sxe, PV_NONE, | |
2278 { | |
2279 #if defined(MSDOS) || defined(WIN16) || defined(WIN3264) | |
2280 (char_u *)"\"&|<>()@^", | |
2272 #else | 2281 #else |
2273 (char_u *)"", | 2282 (char_u *)"", |
2274 #endif | 2283 #endif |
2275 (char_u *)0L} SCRIPTID_INIT}, | 2284 (char_u *)0L} SCRIPTID_INIT}, |
2276 {"shiftround", "sr", P_BOOL|P_VI_DEF|P_VIM, | 2285 {"shiftround", "sr", P_BOOL|P_VI_DEF|P_VIM, |