x/tools/gopls: cannot set falsey options for gopls in emacs configuration #35927
Labels
Milestone
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
Can you share the /cc @muirdm for Emacs expertise |
I think you want The third element should be
|
Thanks for clarifying, @muirdm! Closing this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?go version go1.13.3 linux/amd64
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?
I'm using golang with emacs, per the instructions here: https://github.com/golang/tools/blob/master/gopls/doc/emacs.md
The instructions spell out:
Experimental settings can be configured via lsp-register-custom-settings:
emacs-lisp does not provide a "false" for boolean. It is typically represented as nil.
With the following in my config, I receive a warning:
The warning is: LSP :: Invalid type for bool option "completeUnimported"
What did you expect to see?
I expect to see no warning.
What did you see instead?
LSP :: Invalid type for bool option "completeUnimported"
The text was updated successfully, but these errors were encountered: