diff options
author | Simon Bugert <sbugert@users.noreply.github.com> | 2017-11-05 22:24:41 +0100 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-11-05 21:24:41 +0000 |
commit | 716b22d524b80941eee6538e988a963f923901f3 (patch) | |
tree | 280c4f532ea0b77d8fee1d702fe443fa81cf4f9c /doc | |
parent | 7086586b1776d2b5f3bf87a7f0c25595a5d7e1b0 (diff) | |
download | ale-716b22d524b80941eee6538e988a963f923901f3.zip |
Add shfmt fixer for sh files (#1083)
* Add shfmt fixer for sh files
* Add tests for shfmt fixer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-sh.txt | 11 | ||||
-rw-r--r-- | doc/ale.txt | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/doc/ale-sh.txt b/doc/ale-sh.txt index 6fbc9fe4..941dc59b 100644 --- a/doc/ale-sh.txt +++ b/doc/ale-sh.txt @@ -58,4 +58,15 @@ g:ale_sh_shellcheck_exclusions *g:ale_sh_shellcheck_exclusions* < =============================================================================== +shfmt *ale-sh-shfmt* + +g:ale_sh_shfmt_options *g:ale_sh_shfmt_options* + *b:ale_sh_shfmt_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the shfmt fixer. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index bedf0cff..f00e1ac2 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -173,6 +173,7 @@ CONTENTS *ale-contents* sh....................................|ale-sh-options| shell...............................|ale-sh-shell| shellcheck..........................|ale-sh-shellcheck| + shfmt...............................|ale-sh-shfmt| sml...................................|ale-sml-options| smlnj...............................|ale-sml-smlnj| solidity..............................|ale-solidity-options| @@ -256,8 +257,8 @@ Notes: * Ansible: `ansible-lint` * AsciiDoc: `proselint`, `write-good` * Awk: `gawk` -* Bash: `shell` (-n flag), `shellcheck` -* Bourne Shell: `shell` (-n flag), `shellcheck` +* Bash: `shell` (-n flag), `shellcheck`, `shfmt` +* Bourne Shell: `shell` (-n flag), `shellcheck`, `shfmt` * C: `cppcheck`, `cpplint`!!, `gcc`, `clang`, `clangtidy`!!, `clang-format` * C++ (filetype cpp): `clang`, `clangcheck`!!, `clangtidy`!!, `cppcheck`, `cpplint`!!, `gcc`, `clang-format` * CUDA: `nvcc`!! |