diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index bff76af0..3856a3d5 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.6.0-147' +let g:_SYNTASTIC_VERSION = '3.6.0-149' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/go/go.vim b/syntax_checkers/go/go.vim index ba521137..c03cea0b 100644 --- a/syntax_checkers/go/go.vim +++ b/syntax_checkers/go/go.vim @@ -51,11 +51,11 @@ function! SyntaxCheckers_go_go_GetLocList() dict " compiled by `go build`, therefore `go test` must be called for those. if match(expand('%', 1), '\m_test\.go$') == -1 let cmd = 'build' - let opts = syntastic#util#var('go_go_build_args') + let opts = syntastic#util#var('go_go_build_args', '-buildmode=archive') let cleanup = 0 else let cmd = 'test -c' - let opts = syntastic#util#var('go_go_test_args') + let opts = syntastic#util#var('go_go_test_args', '-buildmode=archive') let cleanup = 1 endif let opt_str = (type(opts) != type('') || opts !=# '') ? join(syntastic#util#argsescape(opts)) : opts