diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-09 21:04:43 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-09 21:04:43 +0100 |
commit | a1ecf9eceaf2b80738c37792dc73961522cc0cde (patch) | |
tree | f5ee5819d81ff8df63e048f3806d17e67aff937a /doc | |
parent | dea8af1e5706cbed01547d71c955caf94dae7515 (diff) | |
parent | 07599d006ca35fe5272fd0d5decb25d18e3086a8 (diff) | |
download | ale-a1ecf9eceaf2b80738c37792dc73961522cc0cde.zip |
Merge branch 'shell-detection'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 44f1c7f8..4335f1f1 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -14,6 +14,7 @@ CONTENTS *ale-contents* 4.2. phpcs......................................|ale-linter-options-phpcs| 4.3. c-gcc......................................|ale-linter-options-c-gcc| 4.4. cpp-gcc....................................|ale-linter-options-cpp-gcc| + 4.5. shell......................................|ale-linter-options-shell| 5. API............................................|ale-api| 6. Contact........................................|ale-contact| @@ -287,6 +288,19 @@ Default: `'-Wall'` This variable can be changed to modify flags given to gcc. +------------------------------------------------------------------------------- +4.5. shell *ale-linter-options-shell* + +g:ale_linters_sh_shell_default_shell *g:ale_linters_sh_shell_default_shell* + +Type: |String| +Default: The current shell (`$SHELL`) or `'bash'` if that cannot be read. + +When ALE runs the linter for shells with the `-n` flag, it will attempt to +read the shell from the shebang (`#!`) line from the shell script to +determine the shell program to run. When this detection fails, this variable +will be used instead. + =============================================================================== 5. API *ale-api* |