From 76965615558e9398ef4cc79991632a7b68a6c7bc Mon Sep 17 00:00:00 2001 From: Horacio Sanson Date: Tue, 23 Feb 2021 16:48:42 +0900 Subject: [PATCH] Fix 3537 - remove -T argument from ruby linter (#3538) Co-authored-by: Horacio Sanson --- ale_linters/ruby/ruby.vim | 2 +- test/command_callback/test_ruby_command_callback.vader | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ale_linters/ruby/ruby.vim b/ale_linters/ruby/ruby.vim index 2dc55eb0..621fcbc0 100644 --- a/ale_linters/ruby/ruby.vim +++ b/ale_linters/ruby/ruby.vim @@ -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', \}) diff --git a/test/command_callback/test_ruby_command_callback.vader b/test/command_callback/test_ruby_command_callback.vader index b6bac14f..d957079d 100644 --- a/test/command_callback/test_ruby_command_callback.vader +++ b/test/command_callback/test_ruby_command_callback.vader @@ -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'