Skip to content

Commit

Permalink
Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm"
Browse files Browse the repository at this point in the history
This reverts commit 1c89495, reversing
changes made to 4b4b095.
  • Loading branch information
w0rp committed Dec 3, 2018
1 parent 9eda079 commit 6f32f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ale_linters/scala/scalac.vim
Expand Up @@ -9,7 +9,7 @@ endfunction
call ale#linter#Define('scala', {
\ 'name': 'scalac',
\ 'executable_callback': {buf -> s:IsSbt(buf) ? '' : 'scalac'},
\ 'command': '%e -Ystop-before:jvm %t',
\ 'command': '%e -Ystop-after:parser %t',
\ 'callback': 'ale#handlers#scala#HandleScalacLintFormat',
\ 'output_stream': 'stderr',
\})
2 changes: 1 addition & 1 deletion test/command_callback/test_scalac_command_callback.vader
Expand Up @@ -6,7 +6,7 @@ After:

Given scala(An empty Scala file):
Execute(The default executable and command should be correct):
AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-before:jvm %t'
AssertLinter 'scalac', ale#Escape('scalac') . ' -Ystop-after:parser %t'

Given scala.sbt(An empty SBT file):
Execute(scalac should not be run for sbt files):
Expand Down

0 comments on commit 6f32f00

Please sign in to comment.