From 2303b05baab5b1a54f42d9d1ab2bff05970ebbb2 Mon Sep 17 00:00:00 2001 From: Fletcher Nichol Date: Thu, 18 Apr 2019 16:48:10 -0600 Subject: Add g:ale_sh_shellcheck_change_directory --- doc/ale-sh.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/ale-sh.txt') 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| -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0