I am trying to set up my Neovim (nightly - latest) with Go (the programming language).
However, it doesn't seem to be working, most likely because I'm missing something. I'm not sure what though.
Right now, when I open a Go file, at the bottom of Vim, I get a message saying:
Autostart for gopls failed: matching root directory not detected.
With the Go file still open, if I run
:LspInfo I get:
What am I missing? Why am I not getting auto-complete, go to definition, find references ...etc (the usual LSP stuff).