Commit Graph

15 Commits

Author SHA1 Message Date
Marco Paganini
68ddbc67f1 Fix govet output parsing for go >= 1.10.
- 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.
2018-02-18 10:59:29 -08:00
LCD 47
f660d1074f Cleanup: buffer handling. 2017-02-15 13:50:19 +02:00
LCD 47
b940830756 Checker govet: minor cleanup. 2016-04-25 08:49:40 +03:00
LCD 47
0fe6035959 Bug fix: minor shell escape issue. 2015-09-01 07:20:23 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
1d2f8d514a Formatting: folding. 2015-01-04 12:46:54 +02:00
LCD 47
d1b401609b Bug fix: glob(), globpath(), and expand() should ignore wildignore. 2015-01-04 09:01:55 +02:00
LCD 47
21f052ab02 Go and govet checkers: make go executable configurable. 2014-12-11 12:38:10 +02:00
LCD 47
ce89396808 Checker-specific logging.
New debug level 32, for logging tracing checkers.
New method checker.log().
Cleanup.
2014-10-06 22:19:24 +03:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
3694908d05 Registry cleanup, stage 2.
(1) Checkers now have an _exec attribute, and an accessor getExec().
(2) CreateAndRegisterChecker() initializes _exec from an optional argument
'exec'.  If this argument is missing, 'name' is used instead.
(3) Functions SyntaxCheckers_*_IsAvailable() are now dictionary functions.
(4) Functions SyntaxCheckers_*_IsAvailable() are now optional.  When
they are missing, they are assumed to return executable(expand(self.getExec())).
(5) Argument 'exe' of function syntastic#makeprg#build() is now optional.
If this argument is missing, expand(self.getExec()) is used to set checker
executables.
2013-11-02 10:44:06 +02:00
LCD 47
28bce98a68 Registry cleanup, stage 1.
Make SyntaxCheckers_*_GetLocList() dictionary functions.
Pass a reference to the current checker to syntastic#makeprg#build().
Add an optional 'redirect' argument to CreateAndRegisterChecker().
Change the sh checker to use the new dictionary functions.
Add a new registry method getLocListRaw() (needed for the sh checker).
2013-11-02 10:44:06 +02:00
LCD 47
da7002516b Added option 'cwd' to SyntasticMake(). 2013-06-11 21:36:44 +03:00
LCD 47
f76ae1cc0f Go vet errorformat fix. 2013-04-14 09:38:51 +03:00
Kamil Kisiel
fdfa54e702 Add new "govet" checker for static checking of Go code with the vet tool 2013-04-13 20:56:44 -07:00