2017-03-28 22:25:44 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE Ruby Integration *ale-ruby-options*
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-05-05 09:05:53 +00:00
|
|
|
brakeman *ale-ruby-brakeman*
|
|
|
|
|
2018-08-24 15:33:59 +00:00
|
|
|
g:ale_ruby_brakeman_executable *g:ale_ruby_brakeman_executable*
|
|
|
|
*b:ale_ruby_brakeman_executable*
|
|
|
|
Type: String
|
|
|
|
Default: `'brakeman'`
|
|
|
|
|
|
|
|
Override the invoked brakeman binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` brakeman'.
|
|
|
|
|
|
|
|
|
2017-05-05 09:05:53 +00:00
|
|
|
g:ale_ruby_brakeman_options *g:ale_ruby_brakeman_options*
|
|
|
|
*b:ale_ruby_brakeman_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
The contents of this variable will be passed through to brakeman.
|
|
|
|
|
|
|
|
|
2017-07-12 09:43:47 +00:00
|
|
|
===============================================================================
|
|
|
|
rails_best_practices *ale-ruby-rails_best_practices*
|
|
|
|
|
|
|
|
g:ale_ruby_rails_best_practices_executable
|
|
|
|
*g:ale_ruby_rails_best_practices_executable*
|
|
|
|
*b:ale_ruby_rails_best_practices_executable*
|
|
|
|
Type: String
|
2018-08-24 15:33:59 +00:00
|
|
|
Default: `'rails_best_practices'`
|
2017-07-12 09:43:47 +00:00
|
|
|
|
|
|
|
Override the invoked rails_best_practices binary. Set this to `'bundle'` to
|
2018-08-24 15:33:59 +00:00
|
|
|
invoke `'bundle` `exec` rails_best_practices'.
|
|
|
|
|
2017-07-12 09:43:47 +00:00
|
|
|
|
|
|
|
g:ale_ruby_rails_best_practices_options
|
|
|
|
*g:ale_ruby_rails_best_practices_options*
|
|
|
|
*b:ale_ruby_rails_best_practices_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
The contents of this variable will be passed through to rails_best_practices.
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-04-20 06:37:08 +00:00
|
|
|
reek *ale-ruby-reek*
|
|
|
|
|
2018-08-24 15:33:59 +00:00
|
|
|
g:ale_ruby_reek_executable *g:ale_ruby_reek_executable*
|
|
|
|
*b:ale_ruby_reek_executable*
|
|
|
|
Type: String
|
|
|
|
Default: `'reek'`
|
|
|
|
|
|
|
|
Override the invoked reek binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` reek'.
|
|
|
|
|
|
|
|
|
2017-04-20 06:37:08 +00:00
|
|
|
g:ale_ruby_reek_show_context *g:ale_ruby_reek_show_context*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_ruby_reek_show_context*
|
2017-04-20 06:37:08 +00:00
|
|
|
Type: |Number|
|
|
|
|
Default: 0
|
|
|
|
|
|
|
|
Controls whether context is included in the linter message. Defaults to off
|
|
|
|
because context is usually obvious while viewing a file.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_ruby_reek_show_wiki_link *g:ale_ruby_reek_show_wiki_link*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_ruby_reek_show_wiki_link*
|
2017-04-20 06:37:08 +00:00
|
|
|
Type: |Number|
|
|
|
|
Default: 0
|
|
|
|
|
|
|
|
Controls whether linter messages contain a link to an explanatory wiki page
|
|
|
|
for the type of code smell. Defaults to off to improve readability.
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
rubocop *ale-ruby-rubocop*
|
|
|
|
|
2017-11-28 09:47:04 +00:00
|
|
|
g:ale_ruby_rubocop_executable *g:ale_ruby_rubocop_executable*
|
|
|
|
*b:ale_ruby_rubocop_executable*
|
2017-05-16 15:47:35 +00:00
|
|
|
Type: String
|
2017-11-28 09:47:04 +00:00
|
|
|
Default: `'rubocop'`
|
2017-05-16 15:47:35 +00:00
|
|
|
|
2018-08-24 15:33:59 +00:00
|
|
|
Override the invoked rubocop binary. Set this to `'bundle'` to invoke
|
|
|
|
`'bundle` `exec` rubocop'.
|
2017-05-16 15:47:35 +00:00
|
|
|
|
|
|
|
|
2017-03-28 22:25:44 +00:00
|
|
|
g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options*
|
2017-04-27 21:04:34 +00:00
|
|
|
*b:ale_ruby_rubocop_options*
|
2017-03-28 22:25:44 +00:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be change to modify flags given to rubocop.
|
|
|
|
|
|
|
|
|
2017-11-28 09:47:04 +00:00
|
|
|
===============================================================================
|
|
|
|
ruby *ale-ruby-ruby*
|
|
|
|
|
|
|
|
g:ale_ruby_ruby_executable *g:ale_ruby_ruby_executable*
|
|
|
|
*b:ale_ruby_ruby_executable*
|
|
|
|
Type: String
|
|
|
|
Default: `'ruby'`
|
|
|
|
|
|
|
|
This variable can be changed to use a different executable for ruby.
|
|
|
|
|
|
|
|
|
2018-03-11 04:33:57 +00:00
|
|
|
===============================================================================
|
|
|
|
rufo *ale-ruby-rufo*
|
|
|
|
|
|
|
|
g:ale_ruby_rufo_executable *g:ale_ruby_rufo_executable*
|
|
|
|
*b:ale_ruby_rufo_executable*
|
|
|
|
Type: String
|
|
|
|
Default: `'rufo'`
|
|
|
|
|
|
|
|
Override the invoked rufo binary. This is useful for running rufo from
|
|
|
|
binstubs or a bundle.
|
|
|
|
|
|
|
|
|
2018-08-24 04:02:51 +00:00
|
|
|
===============================================================================
|
|
|
|
solargraph *ale-ruby-solargraph*
|
|
|
|
|
|
|
|
g:ale_ruby_solargraph_host *g:ale_ruby_solargraph_host*
|
|
|
|
*b:ale_ruby_solargraph_host*
|
|
|
|
Type: String
|
|
|
|
Default: `'127.0.0.1'`
|
|
|
|
|
|
|
|
The host/ip where the solargraph language server is running.
|
|
|
|
|
|
|
|
g:ale_ruby_solargraph_port *g:ale_ruby_solargraph_port*
|
|
|
|
*b:ale_ruby_solargraph_port*
|
|
|
|
Type: String
|
|
|
|
Default: `'7658'`
|
|
|
|
|
|
|
|
The listening port where the solargraph language server is running.
|
|
|
|
|
|
|
|
|
2017-07-08 13:17:26 +00:00
|
|
|
===============================================================================
|
2017-03-28 22:25:44 +00:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|