We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using bazel.io for a Go project which gives that you usually want to wrap go commands in something like:
go
$ bazel run @rules_go/go -- mod tidy
It'd be great to be able to provide an alternate go command used in go.nvim.
The text was updated successfully, but these errors were encountered:
There is a setting go = 'go', -- set to go1.18beta1 if necessary You may want to do this go = 'bazel',
go = 'go', -- set to go1.18beta1 if necessary
go = 'bazel',
But, ATM the command have to be fully compatible with go
Sorry, something went wrong.
Hey @ray-x .
I tried that but got errors: unknown option run
unknown option run
This with the following configuration:
require('go').setup { disable_defaults = false, luasnip = true, go = 'bazel run @rules_go//go --', }
bazel will run the go command so whatever is after the -- will be working the same as vanilla go
bazel
No branches or pull requests
I'm using bazel.io for a Go project which gives that you usually want to wrap
go
commands in something like:$ bazel run @rules_go/go -- mod tidy
It'd be great to be able to provide an alternate go command used in go.nvim.
The text was updated successfully, but these errors were encountered: