diff options
author | Horacio Sanson <hsanson@gmail.com> | 2021-02-23 16:48:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 16:48:42 +0900 |
commit | 76965615558e9398ef4cc79991632a7b68a6c7bc (patch) | |
tree | 68e84130f71bda1823b3223df3b5f35b129775b6 | |
parent | 90b9597d500c528d46aa13ccfa678a86ef7ea22b (diff) | |
download | ale-76965615558e9398ef4cc79991632a7b68a6c7bc.zip |
Fix 3537 - remove -T argument from ruby linter (#3538)
Co-authored-by: Horacio Sanson <horacio@allm.inc>
-rw-r--r-- | ale_linters/ruby/ruby.vim | 2 | ||||
-rw-r--r-- | 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' |