Skip to content

Commit 0cef57b

Browse files
committed
internal/lsp/protocol: use a pointer for code action's disabled field
We were always sending an empty reason for "disabled" in code actions, which leads clients to see all code actions as disabled. Change-Id: I855fb622a52557cc56ce91cf90fdc971df099a90 Reviewed-on: https://go-review.googlesource.com/c/tools/+/287796 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
1 parent db4c57d commit 0cef57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/lsp/protocol/tsprotocol.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)