joaotavora / eglot

A client for Language Server Protocol servers
GNU General Public License v3.0
2.25k stars 200 forks source link

eglot+gopls is ... off by one expression? #1099

Closed Cerebus closed 1 year ago

Cerebus commented 1 year ago

I really don't know what's happening here, and I'll try to generate a minimal example, but by screenshots:

I tried mucking about with eglot--pos-to-lsp-position but I don't really know if that's the problem. I'll also generate a minimal example when I have a chance, but mainly looking for feedback on whether this is an eglot or gopls problem.