Shohei YOSHIDA
53d5876cfe
Update go completion for version 1.23
2024-08-14 11:58:59 +09:00
Shohei YOSHIDA
22222832d8
Update environment variable completion
...
And don't use global variables
2024-07-31 16:42:02 +09:00
Shohei YOSHIDA
f036321bc4
Update version
2024-07-31 12:10:56 +09:00
Shohei YOSHIDA
ef50c3a7b9
Update 'go test' completion
2024-07-31 12:10:22 +09:00
Shohei YOSHIDA
9380071ffb
Update 'go mod' completion
2024-07-31 12:06:03 +09:00
Shohei YOSHIDA
580b096df4
Update 'go tool trace' completion
2024-07-30 12:58:19 +09:00
Shohei YOSHIDA
da937c9124
Update 'go tool vet' completion
2024-07-30 12:51:36 +09:00
Shohei YOSHIDA
a8dacc93aa
Update 'go tool pack' completion
2024-07-30 12:43:19 +09:00
Shohei YOSHIDA
238d3b0749
Update 'go tool fix' completion
2024-07-30 12:38:41 +09:00
Shohei YOSHIDA
13b8ba55e2
Update 'go tool compile' completion
2024-07-30 12:36:24 +09:00
Shohei YOSHIDA
89d7a5ec24
Update 'go list' completion
2024-07-30 12:26:31 +09:00
Shohei YOSHIDA
78c0ab5f95
Update 'go generate' completion
2024-07-30 12:19:18 +09:00
Shohei YOSHIDA
aac56495ba
Update 'go fmt' completion
2024-07-30 12:17:57 +09:00
Shohei YOSHIDA
61c84a203c
Update 'go env' environment list
2024-07-30 12:15:24 +09:00
Shohei YOSHIDA
937cd0fcea
Complete package name in 'go doc'
2024-07-30 11:56:50 +09:00
Shohei YOSHIDA
f475c1322f
Improve 'go help' completion
2024-07-29 18:47:46 +09:00
Shohei YOSHIDA
057d9a9940
Update 'go fix' completion
2024-07-29 18:36:59 +09:00
Shohei YOSHIDA
5a4bbc1ad8
Update 'go tool cgo' completion
2024-07-29 18:10:37 +09:00
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