2017-08-21 20:34:42 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Eruby Integration *ale-eruby-options*
|
|
|
|
|
2017-12-19 19:40:00 +00:00
|
|
|
There are four linters for `eruby` files:
|
2017-08-21 20:34:42 +00:00
|
|
|
|
2017-11-12 01:52:16 +00:00
|
|
|
- `erb`
|
2021-10-09 05:33:07 +00:00
|
|
|
- `erblint`
|
2017-08-21 20:34:42 +00:00
|
|
|
- `erubis`
|
2017-11-12 05:53:02 +00:00
|
|
|
- `erubi`
|
2024-04-17 14:58:28 +00:00
|
|
|
- `htmlbeautifier`
|
2017-12-19 19:40:00 +00:00
|
|
|
- `ruumba`
|
2017-08-21 20:34:42 +00:00
|
|
|
|
2017-11-12 05:53:02 +00:00
|
|
|
`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
|
2017-12-19 19:40:00 +00:00
|
|
|
5.1 and later. `ruumba` can extract Ruby from eruby files and run rubocop on
|
|
|
|
the result. To selectively enable a subset, see |g:ale_linters|.
|
|
|
|
|
2023-07-24 12:38:52 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
erb-formatter *ale-eruby-erbformatter*
|
|
|
|
|
|
|
|
g:ale_eruby_erbformatter_executable *g:ale_eruby_erbformatter_executable*
|
|
|
|
*b:ale_eruby_erbformatter_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'erb-formatter'`
|
|
|
|
|
|
|
|
Override the invoked erb-formatter binary. This is useful for running
|
|
|
|
erb-formatter from binstubs or a bundle.
|
|
|
|
|
|
|
|
|
2021-10-09 05:33:07 +00:00
|
|
|
===============================================================================
|
|
|
|
erblint *ale-eruby-erblint*
|
|
|
|
|
|
|
|
g:ale_eruby_erblint_executable *g:ale_eruby_erblint_executable*
|
|
|
|
*b:ale_eruby_erblint_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'erblint'`
|
|
|
|
|
|
|
|
Override the invoked erblint binary. This is useful for running erblint
|
|
|
|
from binstubs or a bundle.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_eruby_erblint_options *g:ale_ruby_erblint_options*
|
|
|
|
*b:ale_ruby_erblint_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be change to modify flags given to erblint.
|
|
|
|
|
|
|
|
|
2024-04-17 14:58:28 +00:00
|
|
|
===============================================================================
|
|
|
|
htmlbeautifier *ale-eruby-htmlbeautifier*
|
|
|
|
|
|
|
|
g:ale_eruby_htmlbeautifier_executable *g:ale_eruby_htmlbeautifier_executable*
|
|
|
|
*b:ale_eruby_htmlbeautifier_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'htmlbeautifier'`
|
|
|
|
|
|
|
|
Override the invoked htmlbeautifier binary. This is useful for running
|
|
|
|
htmlbeautifier from binstubs or a bundle.
|
|
|
|
|
|
|
|
|
2017-12-19 19:40:00 +00:00
|
|
|
===============================================================================
|
|
|
|
ruumba *ale-eruby-ruumba*
|
|
|
|
|
|
|
|
g:ale_eruby_ruumba_executable *g:ale_eruby_ruumba_executable*
|
|
|
|
*b:ale_eruby_ruumba_executable*
|
2022-10-29 11:56:47 +00:00
|
|
|
Type: |String|
|
2023-07-24 12:38:52 +00:00
|
|
|
Default: `'ruumba'`
|
2017-12-19 19:40:00 +00:00
|
|
|
|
|
|
|
Override the invoked ruumba binary. This is useful for running ruumba
|
|
|
|
from binstubs or a bundle.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_eruby_ruumba_options *g:ale_ruby_ruumba_options*
|
|
|
|
*b:ale_ruby_ruumba_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be change to modify flags given to ruumba.
|
|
|
|
|
2017-08-21 20:34:42 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|