summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorHolden <holden@axoni.com>2018-12-28 12:35:57 -0500
committerHolden <holden@axoni.com>2018-12-28 12:35:57 -0500
commit3ec20a730d1c6485ab28704f930a61c6ba426b27 (patch)
treef14afb57616c17a2743ec45f64a859688d61f7d8 /doc/ale.txt
parentc499825a0bc3f27d728e42b61ee25ec9a06644fa (diff)
downloadale-3ec20a730d1c6485ab28704f930a61c6ba426b27.zip
address PR feedback by fixing docs and hardcoding bash to use -c on fish and pwsh environments
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index f6063718..7b5fa624 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1999,6 +1999,12 @@ g:ale_shell *g:ale_shell*
commands. This variables defaults to the value of the vim option '&shell'
which corresponds to the $SHELL environment variable. For example
if `$SHELL == '/bin/bash'`, but you want to use zsh, set `g:ale_shell = '/bin/zsh'.`
+ If this option is set to either `fish` or `pwsh` (either by default or set
+ with this command), ale will still execute commands with `bin/sh`.
+
+ Please note - if you are using this option you should consider additionally
+ setting `g:ale``g:ale_shell_arguments` since the default values for that
+ option might be incompatable with the newly set shell.
g:ale_shell_arguments *g:ale_shell_arguments*
@@ -2007,7 +2013,8 @@ g:ale_shell_arguments *g:ale_shell_arguments*
This variable is used to determine what commands vim will pass to the shell
to execute it's commands. By default, `&shellcmdflag` would be set to the
- value of '`-c'`.
+ value of '`-c'`. Similar to `g:ale_shell`, if the shell is set to either
+ `fish` or `pwsh`, `g:ale_shell_arguments` will no be used.
-------------------------------------------------------------------------------
6.1. Highlights *ale-highlights*