mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Fix #1168 - Make the ruby linter executable configurable
This commit is contained in:
@@ -58,10 +58,10 @@ g:ale_ruby_reek_show_wiki_link *g:ale_ruby_reek_show_wiki_link*
|
||||
===============================================================================
|
||||
rubocop *ale-ruby-rubocop*
|
||||
|
||||
g:ale_ruby_rubocop_executable g:ale_ruby_rubocop_executable
|
||||
b:ale_ruby_rubocop_executable
|
||||
g:ale_ruby_rubocop_executable *g:ale_ruby_rubocop_executable*
|
||||
*b:ale_ruby_rubocop_executable*
|
||||
Type: String
|
||||
Default: 'rubocop'
|
||||
Default: `'rubocop'`
|
||||
|
||||
Override the invoked rubocop binary. This is useful for running rubocop
|
||||
from binstubs or a bundle.
|
||||
@@ -75,5 +75,16 @@ g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options*
|
||||
This variable can be change to modify flags given to rubocop.
|
||||
|
||||
|
||||
===============================================================================
|
||||
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.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
||||
@@ -170,6 +170,7 @@ CONTENTS *ale-contents*
|
||||
rails_best_practices................|ale-ruby-rails_best_practices|
|
||||
reek................................|ale-ruby-reek|
|
||||
rubocop.............................|ale-ruby-rubocop|
|
||||
ruby................................|ale-ruby-ruby|
|
||||
rust..................................|ale-rust-options|
|
||||
cargo...............................|ale-rust-cargo|
|
||||
rls.................................|ale-rust-rls|
|
||||
|
||||
Reference in New Issue
Block a user