summaryrefslogtreecommitdiff
path: root/doc/ale-sh.txt
diff options
context:
space:
mode:
authorFletcher Nichol <fnichol@nichol.ca>2019-04-18 16:48:10 -0600
committerFletcher Nichol <fnichol@nichol.ca>2019-04-18 16:48:10 -0600
commit2303b05baab5b1a54f42d9d1ab2bff05970ebbb2 (patch)
tree3226f0b2d9b1a978b62c613d51538422a7cbae6e /doc/ale-sh.txt
parentfcc2c3ba71afa2a7965f3c1e9ec8c03381178180 (diff)
downloadale-2303b05baab5b1a54f42d9d1ab2bff05970ebbb2.zip
Add g:ale_sh_shellcheck_change_directory
Diffstat (limited to 'doc/ale-sh.txt')
-rw-r--r--doc/ale-sh.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/ale-sh.txt b/doc/ale-sh.txt
index 64f59609..3eac9038 100644
--- a/doc/ale-sh.txt
+++ b/doc/ale-sh.txt
@@ -62,6 +62,18 @@ g:ale_sh_shellcheck_options *g:ale_sh_shellcheck_options*
<
+g:ale_sh_shellcheck_change_directory *g:ale_sh_shellcheck_change_directory*
+ *b:ale_sh_shellcheck_change_directory*
+ Type: |Number|
+ Default: `1`
+
+ If set to `1`, ALE will switch to the directory the shell file being
+ checked with `shellcheck` is in before checking it. This helps `shellcheck`
+ determine the path to sourced files more easily. This option can be turned
+ off if you want to control the directory `shellcheck` is executed from
+ yourself.
+
+
g:ale_sh_shellcheck_dialect *g:ale_sh_shellcheck_dialect*
*b:ale_sh_shellcheck_dialect*
Type: |String|