x/tools/gopls: CL 200604 does not take into account ContentFormat #36031
Labels
Milestone
Comments
Thanks for reporting this. I've already mailed CL 210201, which should address this. |
Change https://golang.org/cl/210201 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Starting
gopls
withInitialize
params as follows:Note hover content format is
plaintext
.Then trigger a hover, and observe the following response:
Note the markdown formatting around the pkg.go.dev link.
What did you expect to see?
No markdown formatting in the plaintext hover response.
What did you see instead?
Markdown formatting.
It's also unclear to me that we want to unconditionally add this line to every hover documentation response.
cc @stamblerre @heschik
The text was updated successfully, but these errors were encountered: