Shohei YOSHIDA
b4c970619b
Add 'go tool buildid' completion
2024-07-29 17:59:51 +09:00
Shohei YOSHIDA
91fce88036
Update 'go tool asm' completion
2024-07-29 17:57:17 +09:00
Shohei YOSHIDA
177fadadba
Update 'go vet' completion
2024-07-29 17:46:12 +09:00
Shohei YOSHIDA
4b55f149e6
Update help and work subcommand completions
2024-07-29 14:28:17 +09:00
Shohei YOSHIDA
499e5be22e
Don't use global variables
...
and fix indentations
2024-07-29 12:12:52 +09:00
Shohei YOSHIDA
05fd700404
Update for go 1.21
2023-08-09 08:34:54 +09:00
Shohei YOSHIDA
cfc3d2a207
Update go completion version 1.21
2023-06-22 16:47:45 +09:00
Shohei YOSHIDA
07a062b77e
Update go1.20
...
- add `-C` flag and `-pgo` flag
- remove `-i` flag from `go build` and `go test` because it was removed
2022-12-08 12:54:23 +09:00
Shohei YOSHIDA
0b6e064850
Update links
2022-11-23 13:31:48 +09:00
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