use package instead of file

This commit is contained in:
Joshua Rubin 2015-09-16 14:12:06 -06:00
parent 61b7dbf9c2
commit f1f7deed33

View File

@ -19,7 +19,7 @@ let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_go_gometalinter_GetLocList() dict
let makeprg = self.makeprgBuild({})
let makeprg = self.getExecEscaped()
let errorformat =
\ '%f:%l:%c:%m,' .
@ -28,6 +28,7 @@ function! SyntaxCheckers_go_gometalinter_GetLocList() dict
return SyntasticMake({
\ 'makeprg': makeprg,
\ 'errorformat': errorformat,
\ 'cwd': expand('%:p:h', 1),
\ 'defaults': {'type': 'w'},
\ 'subtype': 'Style' })
endfunction