Support multi-line error messages in the go checker.

This commit is contained in:
Kamil Kisiel 2013-09-26 15:53:11 -07:00
parent 7d24ad678f
commit 538dc2c7ef

View File

@ -53,9 +53,10 @@ function! SyntaxCheckers_go_go_GetLocList()
endif endif
let errorformat = let errorformat =
\ '%f:%l:%c:%m,' . \ '%E%f:%l:%c:%m,' .
\ '%f:%l%m,' . \ '%E%f:%l%m,' .
\ '%-G#%.%#' \ '%-G#%.%#,' .
\ '%Z%m'
" The go compiler needs to either be run with an import path as an " The go compiler needs to either be run with an import path as an
" argument or directly from the package directory. Since figuring out " argument or directly from the package directory. Since figuring out