Closed euclio closed 7 years ago
What are you go lang environment setup/environment variable set up as?
These can drastically change what results you get from the golang server. For example, if you don't have the file that you're editing in your $GOPATH, I believe the golang server will not be able to do anything with it.
Ah, that was it! I don't use Go, so I didn't realize that the files had to be in $GOPATH
.
Steps to reproduce:
Run
:LSPStart
.Output:
[' info: Succesfully connected to: 10']
Move the cursor to any variable name. I'm using
tests/test.go
to test with the sample configuration from the README. Run:LSPHover
.Output: