x/tools/gopls: configuration ignored #65519
go version go1.21.6 linux/amd64
The text was updated successfully, but these errors were encountered:
The versions of gopls currently in Debian are the following:
I have no idea how the Debian versions relate to the upstream versions, but I see that the
Aha, @jech those are versions for the x/tools module. Versions of the nested x/tools/gopls module correspond to tags like
Therefore, you may indeed be observing a regression. We will investigate.
Thank you for reporting. We're preparing the email@example.com release, and you may have caught a bug.
Hmm, however I'm not able to reproduce, even when installing gopls at the v0.17.0 commit of x/tools. I am able to successfully suppress composites. Logs from a short gopls session would help me diagnose further. For example, I'll be able to see whether the editor is successfully sending settings to gopls. Beware that these logs may contain source code.
Thanks very much for the logs -- looking at them it appears that eglot has always been returning an error from one of our configuration requests, and it may be that our handling of this error changed.
I've set up emacs+eglot and reproduced, so I've got it from here.
@jech I don't think there's a bug in eglot. There were two bugs in gopls, as described in the CL above. The pre-existing bug is that gopls was sending