Skip to content

Commit

Permalink
Fix 3537 - remove -T argument from ruby linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanson committed Jan 13, 2021
1 parent 12d28ca commit 2c4691f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ale_linters/ruby/ruby.vim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ call ale#Set('ruby_ruby_executable', 'ruby')
call ale#linter#Define('ruby', {
\ 'name': 'ruby',
\ 'executable': {b -> ale#Var(b, 'ruby_ruby_executable')},
\ 'command': '%e -w -c -T1 %t',
\ 'command': '%e -w -c %t',
\ 'output_stream': 'stderr',
\ 'callback': 'ale#handlers#ruby#HandleSyntaxErrors',
\})
4 changes: 2 additions & 2 deletions test/command_callback/test_ruby_command_callback.vader
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ After:
call ale#assert#TearDownLinterTest()

Execute(The default command should be correct):
AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c -T1 %t'
AssertLinter 'ruby', ale#Escape('ruby') . ' -w -c %t'

Execute(The executable should be configurable):
let g:ale_ruby_ruby_executable = 'foobar'

AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c -T1 %t'
AssertLinter 'foobar', ale#Escape('foobar') . ' -w -c %t'

0 comments on commit 2c4691f

Please sign in to comment.