x/tools/gopls: format of workspace/didChangeConfiguration parameters? #41767
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Send a workspace/didChangeConfiguration request, with any of various parameters:
usePlaceholders
,gofumpt
,completeUnimported
etc.I am working on the integration and configuration from Emacs'
eglot.el
, and my problem is that most configuration is described in terms of VS Code --- so it is specific to one editor, something that, ironically, LSP was supposed to get rid of... ;)I am looking for a description of the actual settings parameter for the request. Here is an example for a specific parameter:
The format looks alien, but the settings parameter would transmit as
which looks fine to me. The request does not trigger any error.
What did you expect to see?
A change in behavior.
What did you see instead?
No change in behavior -- neither any formatting according to the stricter gofumpt rules, nor a behavior in completion items (cannot disable completion of unimported symbols) etc.
I tried to rule out all Emacs/eglot-specific error sources as best I could. I also tried to check the wider-spread alternative
lsp-mode
handling as well as the gopls source itself, but could not find what I was looking for --- pointers appreciated.gopls works fine with eglot out of the box, it is just the config changes that elude me. Thanks for any help!
The text was updated successfully, but these errors were encountered: