diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-09-14 18:46:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 18:46:29 +0100 |
commit | f1f2a222281c9e489c3ca6a4f72329c08d4646a6 (patch) | |
tree | 64311b8b439a1f17ddbd9b09979146b714ec89e3 | |
parent | 0868cb769d6ca1f7815d1e17f5fa24587eec9a4b (diff) | |
parent | a55b8d10b0db6eb5fcc60d8ab840250dfd181892 (diff) | |
download | ale-f1f2a222281c9e489c3ca6a4f72329c08d4646a6.zip |
Merge pull request #1921 from rrosenblum/ruby_linters
Fix bug with RuboCop linter when options are not set
-rw-r--r-- | ale_linters/ruby/rubocop.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ale_linters/ruby/rubocop.vim b/ale_linters/ruby/rubocop.vim index 58d73407..45218394 100644 --- a/ale_linters/ruby/rubocop.vim +++ b/ale_linters/ruby/rubocop.vim @@ -1,6 +1,9 @@ " Author: ynonp - https://github.com/ynonp, Eddie Lebow https://github.com/elebow " Description: RuboCop, a code style analyzer for Ruby files +call ale#Set('ruby_rubocop_executable', 'rubocop') +call ale#Set('ruby_rubocop_options', '') + function! ale_linters#ruby#rubocop#GetCommand(buffer) abort let l:executable = ale#Var(a:buffer, 'ruby_rubocop_executable') |