Commit Graph

21 Commits

Author SHA1 Message Date
Shohei YOSHIDA 88b284dc6d
Update go environment variable completion 2022-08-10 10:07:48 +09:00
Shohei YOSHIDA 40c1e44216
Update for go 1.19
'tool compile' no longer accepts '-importmap'
2022-08-07 12:04:22 +09:00
Shohei YOSHIDA 12a73d0200
Add go 1.18 test flags
And fix some typo
2022-07-02 00:55:29 +09:00
Sean Liao af030b381f
fix typos
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
2022-06-17 03:53:10 +01:00
Sean Liao 6f407f5287
update completions for 1.18 2022-06-16 20:27:29 +01:00
Dimitris Apostolou 0fd25cda7a
Fix typos 2021-11-12 23:56:34 +02:00
Shohei YOSHIDA d16c8aea54 Add new flags which are introduced at Go 1.16 2021-02-25 11:32:20 +09:00
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