From cf02b6e29d2bfad9e11062df9eacf6886a4d2af7 Mon Sep 17 00:00:00 2001 From: Emily St Date: Mon, 18 Sep 2017 23:41:11 +0000 Subject: [PATCH] Add warning format to errorformat for Scala compiler Matches what was added to `fsc` in a6bbfbdb4e9017e99457d95a32f3e87e7f228d56. Since `fsc` simply wraps `scalac`, they have identical outputs and syntaxes. --- syntax_checkers/scala/scalac.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/scala/scalac.vim b/syntax_checkers/scala/scalac.vim index 5d7776d9..50036676 100644 --- a/syntax_checkers/scala/scalac.vim +++ b/syntax_checkers/scala/scalac.vim @@ -25,6 +25,7 @@ function! SyntaxCheckers_scala_scalac_GetLocList() dict let errorformat = \ '%E%f:%l: %trror: %m,' . + \ '%W%f:%l: %tarning:%m,' . \ '%Z%p^,' . \ '%-G%.%#'