Commit Graph

64 Commits

Author SHA1 Message Date
LCD 47
f2084e9e49 Checker gometalinter: fix arguments. 2015-09-17 19:58:19 +03:00
LCD 47
9371aafa86 Minor cleanup: regex optimisation. 2015-09-17 08:38:50 +03:00
LCD 47
8bb535bd24 Checker gometalinter: cleanup. 2015-09-17 08:27:24 +03:00
Joshua Rubin
3db525cac1 include test files by default. add error type. 2015-09-16 15:04:41 -06:00
Joshua Rubin
aca4d8ea40 add support for setting arguments on gometalinter 2015-09-16 14:26:34 -06:00
Joshua Rubin
f1f7deed33 use package instead of file 2015-09-16 14:12:06 -06:00
Joshua Rubin
61b7dbf9c2 add gometalinter syntax checker 2015-09-16 13:50:37 -06:00
LCD 47
3fb986584a Go checker: option "-buildmode=archive" is new in go 1.5. 2015-09-06 18:38:21 +03:00
LCD 47
0fe6035959 Bug fix: minor shell escape issue. 2015-09-01 07:20:23 +03:00
LCD 47
d077102eb8 Gotype checker: parse test files (@jonasi). 2015-09-01 07:14:40 +03:00
LCD 47
3c2e7e4ce3 Go checker: attempt to speed up builds (@gsalgado). 2015-08-27 14:49:19 +03:00
Guilherme Salgado
13727dd464 Set the GOGC env var to off to speed up go builds 2015-08-27 10:17:06 +01:00
LCD 47
e15ebd3367 Go checker: no longer attempt to redirect output of "go build".
Running "go build -o /dev/null" in a main package that lives in GOPATH
produces an error message:

build output "/dev/null" already exists and is not an object file

This issue won't be addressed on the Go side:

http://code.google.com/p/go/issues/detail?id=4851
https://github.com/golang/go/issues/4851

Consequently, syntastic leaves this to the user to resolve.  Set
g:syntastic_go_go_build_args to something including "-o /some/dir"
to redirect the output of "go build".
2015-06-03 07:42:19 +03:00
LCD 47
dac07db617 Cleanup: shut up most vint warnings. 2015-03-25 18:44:34 +02:00
LCD 47
4d1f2e23ef Go checker: even more contortions. 2015-01-15 18:06:46 +02:00
LCD 47
c60e440d00 Go checker: more contortions around "go_go_build_args" and "go_go_test_args". 2015-01-15 17:51:15 +02:00
LCD 47
74a071331b Go checker should work with go_go_build_args unset. 2015-01-10 06:16:32 +02:00
LCD 47
a18ccb40df Go checker: extra arguments for "go build" and "go test". 2015-01-08 22:15:35 +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
Vincent Petithory
7f749fe35a make golint report warnings instead of errors 2014-11-22 01:57:27 +01:00
LCD 47
650c7368e9 Discourage people from looking at the sources for user docs. 2014-11-21 10:01:24 +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
Kamil Kisiel
d7b29121a2 Add pattern to match warnings from C compilers when checking Go code. 2014-02-14 12:32:57 -08:00
LCD 47
a487afd810 Second attempt to shut up "go test". 2014-02-09 19:21:34 +02:00
LCD 47
2716eb7711 Revert "Attempt to shut up "go test"."
This reverts commit c6636f6db1.
2014-02-09 19:06:00 +02:00
LCD 47
c6636f6db1 Attempt to shut up "go test". 2014-02-09 18:22:27 +02:00
LCD 47
daf74923b7 Escape Festschrift, vol. 2: add function getExecEscaped(). 2014-02-07 11:19:30 +02:00
LCD 47
f5a45095e2 Escape Festschrift: getExec() needs to be escaped before being used. 2014-02-06 16:50:27 +02:00
LCD 47
44d7ffd7e0 makeprgBuild() refactor: add *_before and *_after options. 2014-01-28 21:44:44 +02:00
LCD 47
b9accaa810 Minor cleanup: &cpo guards and formatting. 2014-01-03 11:29:08 +02:00
LCD 47
72745819fc Minor cleanup for gotype. 2014-01-03 10:47:06 +02:00
lucy
2ddc93d0f9 New checker for Go: gotype. 2013-12-31 04:00:42 +01:00
LCD 47
fa2e6b96d9 Minor cleanup: replace match() by stridx() when appropriate. 2013-11-26 23:19:01 +02:00
LCD 47
6d81ac5dd0 Registry cleanup, stage 3.
Make syntastic#makeprg#build() a dictionary function.
Remove the mandatory checker argument to syntastic#makeprg#build().
2013-11-02 10:44:06 +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
7b73975d79 Minor errorformat fix for the go checker. 2013-09-27 20:55:56 +03:00
Kamil Kisiel
dd8dfc61da Update go.vim errorformat to remove extra spaces. 2013-09-27 08:59:01 -07:00
Kamil Kisiel
538dc2c7ef Support multi-line error messages in the go checker. 2013-09-26 16:01:30 -07:00
LCD 47
ff2b615093 Merge branch 'master' into gcc_refactor 2013-06-17 14:02:44 +03:00
LCD 47
da7002516b Added option 'cwd' to SyntasticMake(). 2013-06-11 21:36:44 +03:00
LCD 47
b6f6abba86 Merge branch master. 2013-06-07 21:18:29 +03:00
LCD 47
fd38284b28 Cleanup. 2013-06-07 20:56:39 +03:00
hirochachacha
cc9fc0b52b add golint to syntax_checkers 2013-06-04 01:12:04 +09:00
LCD 47
d3354f175c Make syntastic#makeprg#build() aware of filetypes. Fixes #667. 2013-05-31 21:05:45 +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
Kamil Kisiel
2472fe3ca0 Check for gofmt instead of go in the gofmt checker. 2013-04-13 20:35:27 -07:00