Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 3537 - remove -T argument from ruby linter #3538

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'