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
let errorformat =
\ '%f:%l:%c:%m,' .
\ '%f:%l%m,' .
\ '%-G#%.%#'
\ '%E%f:%l:%c:%m,' .
\ '%E%f:%l%m,' .
\ '%-G#%.%#,' .
\ '%Z%m'
" The go compiler needs to either be run with an import path as an
" argument or directly from the package directory. Since figuring out