Skip to content

Commit 971ac9a

Browse files
pritchettderekwyatt
authored andcommitted
Add column number into errorformat
At some point, sbt added column numbers to its error messages. This handles them.
1 parent 0b909e2 commit 971ac9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/sbt.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ set cpo-=C
2020
CompilerSet makeprg=sbt\ -Dsbt.log.noformat=true\ compile
2121

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

2727
let &cpo = s:cpo_save

0 commit comments

Comments
 (0)