Nimbin[12]?Mirrors & Forks / syntastic / commits / 68ddbc67

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Fix govet output parsing for go >= 1.10.

Marco Paganini · 2018-02-18 18:59 · 68ddbc67f1e832750b7e5f1f56ab84cd8763e243

- Changed errorformat of go vet to include go build style messages in
  the parsing of go vet invocations.
- With go 1.10, govet apparently now runs a "go build" to collect
  information about the entire project. As a result, go vet will
  now output both go build and go vet errors. Previously, only
  go vet specific errors were reported.
 syntax_checkers/go/govet.vim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/syntax_checkers/go/govet.vim b/syntax_checkers/go/govet.vim
index 1d8015c5..b7690f98 100644
--- a/syntax_checkers/go/govet.vim
+++ b/syntax_checkers/go/govet.vim
@@ -24,6 +24,7 @@ function! SyntaxCheckers_go_govet_GetLocList() dict
 
     let errorformat =
         \ '%Evet: %.%\+: %f:%l:%c: %m,' .
+        \ '%f:%l:%c: %m,' .
         \ '%W%f:%l: %m,' .
         \ '%-G%.%#'