derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

errorformat is missing column for errorformat #147

Closed lewis6991 closed 5 years ago

lewis6991 commented 6 years ago

From sbt.vim:

CompilerSet errorformat=
      \%E\ %#[error]\ %f:%l:\ %m,%C\ %#[error]\ %p^,%-C%.%#,%Z,
      \%W\ %#[warn]\ %f:%l:\ %m,%C\ %#[warn]\ %p^,%-C%.%#,%Z,
\%-G%.%#

Doesn't correctly parse as it is missing the line column.

This seems to correct the issue for me:

CompilerSet errorformat=
      \%E\ %#[error]\ %f:%l:%c:\ %m,%C\ %#[error]\ %p^,%-C%.%#,%Z,
      \%W\ %#[warn]\ %f:%l:%c:\ %m,%C\ %#[warn]\ %p^,%-C%.%#,%Z,
\%-G%.%#

This is using scala 2.12 with sbt 1.0

I'm guessing a recent version of scala or sbt introduced the column numbers?

reidrac commented 6 years ago

This works for me too, scala 2.12 and sbt 1.0. Thanks!

lewis6991 commented 5 years ago

Resolved in 971ac9ab3fe945105ef88587cfe5273fa2c8e988