Commit Graph

14 Commits

Author SHA1 Message Date
Paul Seyfert 74a316cca8 prepare go 1.15 2020-06-17 22:22:01 +02:00
Shohei YOSHIDA ae19ab20f5 Move comment line for avoiding completion error 2020-05-27 23:07:34 +09:00
Shohei YOSHIDA bbfdc2635a Add file local variables for _golang 2020-05-17 21:27:32 +09:00
Paul Seyfert 815f3808a0 Update to go 1.14 2020-05-17 21:25:54 +09:00
Paul Seyfert 0a0894d07c go env can show values of individual environment variables 2019-08-23 14:43:31 +02:00
Paul Seyfert 17239cec96 minor 1.13 changes 2019-08-23 14:37:32 +02:00
Paul Seyfert c8647517f3 fixup new env vars 2019-08-23 14:22:52 +02:00
Paul Seyfert 1133c0c82d prepare go 1.13 2019-08-23 14:16:57 +02:00
Paul Seyfert e73235f0df [golang] unify package completion for build and run
* let both `go build` and `go run` suggest local files and dirs with
   `go build ./something`
 * let both suggest package identifiers
   `go build github.com/username/reponame`
 * automatically prefix relative paths with './'
   `go build file<TAB>` → `go build ./file.go`
2019-07-18 23:07:32 +02:00
Paul Seyfert a879b3b23e add options for 'go test -test.' 2019-05-18 16:06:12 +02:00
Segev Finer 5f5d2bb51c
Remove a bad space in _golang 2018-12-02 16:09:57 +02:00
Paul Seyfert b03195e636 [golang] add buildmode completion
add the build modes from `go help buildmode` to the completion of
`go build -buildmode <TAB>`
2018-10-16 21:27:01 +02:00
Mikkel Oscar Lyderik Larsen 3875707119
Update completetions for Go 1.11
Updates the completions for Go 1.11 which introduced a new `go mod`
command.

https://groups.google.com/forum/#!topic/golang-announce/O7POXMK3xbM

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-09-04 09:31:23 +02:00
James Short 9362cc2e82 Rename go completion to not collide with zsh file.
There is a _go file in the zsh functions directory that would be found
first if you use OMZ with zsh-completions.  This is an ancient file in
zsh and does not complete for the go executable either, but it is still
there on typical zsh distributions.

This change makes it such that zsh/OMZ/zsh-completions can work in
harmony, if one so chooses.
2018-03-16 14:35:18 -07:00