neovim/runtime
Jan Edmund Lazo 131aad953c win: defaults: 'shellcmdflag', 'shellxquote' #7343
closes #7698

Wrapping a command in double-quotes allows cmd.exe to safely dequote the
entire command as if the user entered the entire command in an
interactive prompt. This reduces the need to escape nested and uneven
double quotes.

The `/s` flag of cmd.exe makes the behaviour more reliable:

    :set shellcmdflag=/s\ /c

Before this patch, cmd.exe cannot use cygwin echo.exe (as opposed to
cmd.exe `echo` builtin) even if it is wrapped in double quotes.

Example:
:: internal echo
> cmd /s /c " echo foo\:bar" "
foo\:bar"

:: cygwin echo.exe
> cmd /s /c " "echo" foo\:bar" "
foo:bar
2018-03-24 22:05:53 +01:00
..
autoload node/provider: support g:node_host_prog #8135 2018-03-15 04:55:48 +01:00
colors vim-patch:b4ada79aa7d0 2017-04-29 01:51:56 +02:00
compiler vim-patch:cd5c8f825078 2017-11-07 01:16:42 +01:00
doc win: defaults: 'shellcmdflag', 'shellxquote' #7343 2018-03-24 22:05:53 +01:00
ftplugin man.vim: infer $MANPAGER invocation in more cases 2018-01-19 02:05:23 +01:00
indent vim-patch:01164a6546b4 2017-11-07 23:07:03 +01:00
keymap vim-patch:bc2eada5424b 2017-05-01 12:30:54 +02:00
lua man.lua: avoid float conversion on lua 5.3 (#7851) 2018-01-15 20:14:27 +01:00
macros vim-patch:cd5c8f825078 2017-11-07 01:16:42 +01:00
pack/dist/opt vim-patch:37c64c78fd87 2017-11-07 20:03:24 +01:00
plugin runtime: UpdateRemotePlugins: allow bar (#7865) 2018-01-17 20:50:17 +01:00
print Remove dec-mcs remnants 2014-12-19 15:28:49 -05:00
spell runtime: include en.utf-8.spl 2018-01-15 23:58:52 +01:00
syntax Address PR comments 2017-12-27 23:28:04 -05:00
tutor tutor: readjust tutor for 80 char wide terminals 2018-01-01 14:26:45 +01:00
bugreport.vim options: remove ghost of :set termcap (#7102) 2017-07-31 02:50:34 +02:00
CMakeLists.txt build: Fix CMake target dependency problem 2018-03-18 12:51:39 -05:00
delmenu.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
filetype.vim vim-patch-8.0.0649 and vim-patch-8.0.0650: autocmd open help 2 times 2018-02-17 00:02:16 +05:30
ftoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugof.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indent.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
macmap.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
makemenu.vim vim-patch:fc39ec 2016-04-16 23:06:24 -07:00
menu.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
mswin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
nvim.desktop dist: runtime/nvim.desktop 2017-01-31 02:02:09 +01:00
nvim.png dist: runtime/nvim.desktop 2017-01-31 02:02:09 +01:00
optwin.vim vim-patch:8.0.0427: 'makeencoding' missing from the options window (#7907) 2018-01-28 22:53:53 +01:00
rgb.txt re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
scripts.vim vim-patch:01164a6546b4 2017-11-07 23:07:03 +01:00
synmenu.vim vim-patch:01164a6546b4 2017-11-07 23:07:03 +01:00