You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, the C-x C-o for completion neither works.
Note
I skipped the nvim and vim-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)
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: