Revert "Merge pull request #2083 from zackhsi/scalac-until-jvm"
This reverts commit 1c89495d771ec6518599bea83dd11a7c1d66ba73, reversing changes made to 4b4b09593b2b090282981d69a9647a3c91d1f8b9.
This commit is contained in:
parent
1d4f985538
commit
df76d8a51c
@ -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',
|
||||
\})
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user