diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-eruby.txt | 12 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/doc/ale-eruby.txt b/doc/ale-eruby.txt index bfbe9ad2..a0f6f4f8 100644 --- a/doc/ale-eruby.txt +++ b/doc/ale-eruby.txt @@ -1,17 +1,15 @@ =============================================================================== ALE Eruby Integration *ale-eruby-options* -There are two linters for `eruby` files: +There are three linters for `eruby` files: - `erb` - `erubis` +- `erubi` -If you don't know which one your project uses, it's probably `erb`. -To selectively enable one or the other, see |g:ale_linters|. - -(Note that ALE already disables linters if the executable for that linter is -not found; thus, there's probably no need to disable one of these if you're -using the other one.) +`erb` is in the Ruby standard library and is mostly universal. `erubis` is the +default parser in Rails between 3.0 and 5.1. `erubi` is the default in Rails +5.1 and later. To selectively enable a subset, see |g:ale_linters|. =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index ddda902e..e0002f77 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -306,7 +306,7 @@ Notes: * Dockerfile: `hadolint` * Elixir: `credo`, `dialyxir`, `dogma`!! * Elm: `elm-format, elm-make` -* Erb: `erb`, `erubis` +* Erb: `erb`, `erubi`, `erubis` * Erlang: `erlc`, `SyntaxErl` * Fish: `fish` (-n flag) * Fortran: `gcc` |