Merge pull request #1252 from nthapaliya/fish-shell-linter

Fish shell linter
This commit is contained in:
w0rp
2018-01-02 13:32:59 +00:00
committed by GitHub
5 changed files with 92 additions and 0 deletions

14
doc/ale-fish.txt Normal file
View File

@@ -0,0 +1,14 @@
===============================================================================
ALE Fish Integration *ale-fish-options*
Lints fish files using `fish -n`.
Note that `fish -n` is not foolproof: it sometimes gives false positives or
errors that are difficult to parse without more context. This integration skips
displaying errors if an error message is not found.
If ALE is not showing any errors but your file does not run as expected, run
`fish -n <file.fish>` from the command line.
===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:

View File

@@ -64,6 +64,7 @@ CONTENTS *ale-contents*
erlc................................|ale-erlang-erlc|
syntaxerl...........................|ale-erlang-syntaxerl|
eruby.................................|ale-eruby-options|
fish..................................|ale-fish-options|
fortran...............................|ale-fortran-options|
gcc.................................|ale-fortran-gcc|
fountain..............................|ale-fountain-options|
@@ -301,6 +302,7 @@ Notes:
* Elm: `elm-format, elm-make`
* Erb: `erb`, `erubis`
* Erlang: `erlc`, `SyntaxErl`
* Fish: `fish` (-n flag)
* Fortran: `gcc`
* Fountain: `proselint`
* FusionScript: `fusion-lint`