-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
Feature Request: Completion with TinyGo machine package #3671
Comments
It looks like it's a matter of setting I don't know that there's anything to be done here to change vim-go. If I'm reading tinygo.nvim correctly, it seems like everything you need is already in place. I'm happy to help you work through it to verify. |
Hacking with TinyGo lacks Auto-Completion support for machine package
I hacked a little with Tiny Go and got rid of a bunch of linter warnings using the tinygo.nvim plugin to set the target.
But the
gd
keystrokes for Go Definition won't work, theC-x C-o
for completion neither works.Note
I skipped the
nvim
andvim-go
configuration section as it's not a bug,vim-go
behaves pretty well.The issue is related to how TinyGo and the machine package behave!
Vim version (first three lines from
:version
):NVIM v0.10.0
Go version (
go version
):go version go1.22.3 linux/amd64
tinygo version 0.31.2 linux/amd64 (using go version go1.22.3 and LLVM version 17.0.6)
Go environment
go env
Output:gopls version
gopls version
Output:I'd love some hints on how to tackle this and would be happy to try to solve it on my own. :)
The text was updated successfully, but these errors were encountered: