aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-24 02:54:50 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-04-12 01:35:49 +0200
commitd6e5f94ae945308d96be414c9c1fb3f0ae71355e (patch)
tree8aaa681a84034915153b40861146c6f27993fa52 /src/nvim/options.lua
parent2d72d85b23761383ac7838faed2f7b53bdce8817 (diff)
downloadrneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.gz
rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.bz2
rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.zip
win: defaults: 'shellredir', 'shellxquote', 'shellxescape'
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 4ca63f2efe..774c39808f 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -2051,7 +2051,11 @@ return {
secure=true,
vi_def=true,
varname='p_srr',
- defaults={if_true={vi=">"}}
+ defaults={
+ condition='WIN32',
+ if_true={vi=">%s 2>&1"},
+ if_false={vi=">"}
+ }
},
{
full_name='shellslash', abbreviation='ssl',
@@ -2073,7 +2077,11 @@ return {
secure=true,
vi_def=true,
varname='p_sxq',
- defaults={if_true={vi=""}}
+ defaults={
+ condition='WIN32',
+ if_true={vi="("},
+ if_false={vi=""}
+ }
},
{
full_name='shellxescape', abbreviation='sxe',
@@ -2081,7 +2089,11 @@ return {
secure=true,
vi_def=true,
varname='p_sxe',
- defaults={if_true={vi=""}}
+ defaults={
+ condition='WIN32',
+ if_true={vi='"&|<>()@^'},
+ if_false={vi=""}
+ }
},
{
full_name='shiftround', abbreviation='sr',