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
There's no upward search here: https://github.com/ray-x/go.nvim/blob/master/lua/go/gopls.lua#L288
I'm pretty sure go.mod discovery works fine in other cases, maybe there's a function to reuse?
For big repositories it's quite common (at least for me) to open nvim in a subdirectory to limit e.g. file search.
The text was updated successfully, but these errors were encountered:
You can re-write the function and pass the result to gopls config
lsp_cfg = {settings={gopls={['local'] = 'your_local_module_path', gofumpt = true }}}
But what does your preferred method look like? As I always set root-dir to either go.mod, go.work etc
go.mod
go.work
Sorry, something went wrong.
No branches or pull requests
There's no upward search here:
https://github.com/ray-x/go.nvim/blob/master/lua/go/gopls.lua#L288
I'm pretty sure go.mod discovery works fine in other cases, maybe there's a function to reuse?
For big repositories it's quite common (at least for me) to open nvim in a subdirectory to limit e.g. file search.
The text was updated successfully, but these errors were encountered: