Commit Graph

11 Commits

Author SHA1 Message Date
Ricardo Seriani
e8aba1bf59 golang: support "go help environment" in autocompletion (#7404)
Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
2018-11-16 22:53:29 +01:00
Matthew Murphy
8ec0937653 Update golang.plugin.zsh (#6750)
add alias to cd to $GOPATH, $GOPATH/src, $GOPATH/bin
2018-08-29 11:55:23 -07:00
Joseph Richey
8961a3794c plugins/go: Simplify/fix recursive golang format (#7027)
Per the [`go` command specification](https://golang.org/cmd/go/#hdr-Package_lists),
the `...` wildcard matches the empty string. This makes commands like
`go <action> . ./...` unnecessary: they should use `go <action> ./...`.

This also fixes a bug with the `gofa` shortcut, where it would emit an
error if called from a directory containing no go source files (but
having subdirectories that _did_ contain go files).
2018-08-07 22:54:45 +02:00
Jeremy Jones
547a6ce260 fix path completion issue with go run subcommand (#6929) 2018-06-24 06:52:53 +02:00
Shubham Chaudhary
4b9772fffe Add more go aliases (#5259)
*  Also gfa conflicts with git shortcut
2016-08-21 20:06:47 +02:00
Ilia Choly
22287d0153 handle multiple paths in GOPATH 2015-09-11 12:27:22 -04:00
Ilia Choly
9e9b790fe1 golang: improve go doc completion 2015-09-09 10:59:29 -04:00
rexk
8790fa3723 go plugin upgrade for version 1.4 2014-12-30 14:53:31 -08:00
ncanceill
ac1a321abe add gfa alias for recursive formatting
inspired from #2018
2014-05-29 11:06:02 +02:00
Luke Steensen
aa9db3e8f9 update golang plugin to match official version 2014-02-12 20:13:00 -06:00
Bobby DeSimone
7c50867d2e Added golang completion support from golang.org 2013-03-20 13:32:03 -04:00