Allow overriding '-Ystop-after:parser' flag on compiler

This matches behavior with 'fsc' as committed in
c73673e0f33a6b00e927ff65f366ba25735ad70f last year.

Allows knowledgeable users to supply additional or alternative flags to
get diffferent results from the compiler.
This commit is contained in:
Emily St 2017-09-18 23:39:29 +00:00
parent 026e09fbdf
commit dbdde67ebc
No known key found for this signature in database
GPG Key ID: 6526B8035DD3DD32

View File

@ -21,7 +21,7 @@ set cpo&vim
function! SyntaxCheckers_scala_scalac_GetLocList() dict
call syntastic#log#deprecationWarn('scala_options', 'scala_scalac_args')
let makeprg = self.makeprgBuild({ 'args_after': '-Ystop-after:parser' })
let makeprg = self.makeprgBuild({ 'args': '-Ystop-after:parser' })
let errorformat =
\ '%E%f:%l: %trror: %m,' .