summaryrefslogtreecommitdiff
path: root/doc/ale-sh.txt
diff options
context:
space:
mode:
authorSzero <singleton@tfwno.gf>2017-04-09 19:54:25 +0200
committerSzero <singleton@tfwno.gf>2017-04-09 19:54:25 +0200
commit8e33abaeab5a7e796f46a8a5107eba18f7c20987 (patch)
treeabd6be625d1f1c1441d24497f460fd44ecf1df36 /doc/ale-sh.txt
parentb9bb4adacda521ac98b3ed656cd328ae36835e40 (diff)
downloadale-8e33abaeab5a7e796f46a8a5107eba18f7c20987.zip
added shellcheck executable and options variable
updated docs
Diffstat (limited to 'doc/ale-sh.txt')
-rw-r--r--doc/ale-sh.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ale-sh.txt b/doc/ale-sh.txt
index aee13912..a7f7800e 100644
--- a/doc/ale-sh.txt
+++ b/doc/ale-sh.txt
@@ -19,12 +19,35 @@ g:ale_linters_sh_shell_default_shell *g:ale_linters_sh_shell_default_shell*
-------------------------------------------------------------------------------
shellcheck *ale-sh-shellcheck*
+g:ale_sh_shellcheck_executable *g:ale_sh_shellcheck_executable*
+
+ Type: |String|
+ Default: `'shellcheck'`
+
+ This variable sets executable used for shellcheck.
+
+
+g:ale_sh_shellcheck_options *g:ale_sh_shellcheck_options*
+
+ Type: |String|
+ Default: `''`
+
+ With this variable we are able to pass extra arguments for shellcheck
+ for shellcheck invocation.
+
+ For example, if we want shellcheck to follow external sources (`see SC1091`)
+ we can set the variable as such:
+
+ let g:ale_sh_shellcheck_options = '-x'
+
+
g:ale_linters_sh_shellcheck_exclusions *g:ale_linters_sh_shellcheck_exclusions*
Type: |String|
Default: `''`
Set this variable to exclude test(s) for shellcheck (-e/--exclude option).
+ To exclude more than one option, separate them with commas.
-------------------------------------------------------------------------------