mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Windows: restore 'shell', 'shellcmdflags' defaults. #3256
- On Windows the default shell is cmd.exe and the shell flag is /c - vim-patch:0
This commit is contained in:
parent
a7ec1a5f50
commit
3901f59876
@ -2000,7 +2000,11 @@ return {
|
|||||||
vi_def=true,
|
vi_def=true,
|
||||||
expand=true,
|
expand=true,
|
||||||
varname='p_sh',
|
varname='p_sh',
|
||||||
defaults={if_true={vi="sh"}}
|
defaults={
|
||||||
|
condition='WIN32',
|
||||||
|
if_true={vi="cmd.exe"},
|
||||||
|
if_false={vi="sh"}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='shellcmdflag', abbreviation='shcf',
|
full_name='shellcmdflag', abbreviation='shcf',
|
||||||
@ -2008,7 +2012,11 @@ return {
|
|||||||
secure=true,
|
secure=true,
|
||||||
vi_def=true,
|
vi_def=true,
|
||||||
varname='p_shcf',
|
varname='p_shcf',
|
||||||
defaults={if_true={vi="-c"}}
|
defaults={
|
||||||
|
condition='WIN32',
|
||||||
|
if_true={vi="/c"},
|
||||||
|
if_false={vi="-c"}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='shellpipe', abbreviation='sp',
|
full_name='shellpipe', abbreviation='sp',
|
||||||
|
Loading…
Reference in New Issue
Block a user