Checker gometalinter: fix arguments.

This commit is contained in:
LCD 47 2015-09-17 19:58:19 +03:00
parent 9371aafa86
commit f2084e9e49
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.6.0-165'
let g:_SYNTASTIC_VERSION = '3.6.0-166'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1

View File

@ -19,7 +19,9 @@ let s:save_cpo = &cpo
set cpo&vim
function! SyntaxCheckers_go_gometalinter_GetLocList() dict
let makeprg = self.makeprgBuild({ 'args': '-t' })
let makeprg = self.makeprgBuild({
\ 'args': '-t',
\ 'fname': syntastic#util#shescape(expand('%:p:h', 1)) })
let errorformat =
\ '%f:%l:%c:%trror: %m,' .