x/tools/gopls: cannot set falsey options for gopls in emacs configuration #35927
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.
Milestone
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: