support column number in go syntax checker

This commit is contained in:
Kamil Kisiel 2012-04-01 10:12:51 -07:00
parent 3cac7f39c1
commit 315e1ad9d2

View File

@ -11,7 +11,7 @@
"============================================================================
function! SyntaxCheckers_go_GetLocList()
let makeprg = 'go build -o /dev/null %'
let errorformat = '%E%f:%l: %m,%-G#%.%#'
let errorformat = '%f:%l:%c:%m,%f:%l%m,%-G#%.%#'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endfunction