From a55b8d10b0db6eb5fcc60d8ab840250dfd181892 Mon Sep 17 00:00:00 2001 From: Ryan Rosenblum Date: Fri, 14 Sep 2018 12:30:28 -0400 Subject: Fix bug with RuboCop linter when options are not set --- ale_linters/ruby/rubocop.vim | 3 +++ 1 file changed, 3 insertions(+) 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') -- cgit v1.2.3