Skip to content

Commit 726034e

Browse files
committed
Revert "internal/lsp: enable semantic tokens by default"
This reverts commit 5ab822f. Reason for revert: Too early to enable since we need to figure out a plan for formatting directives Change-Id: I46567b271d4ecd7e4af574221520a72bd8b8e500 Reviewed-on: https://go-review.googlesource.com/c/tools/+/324289 Trust: Rebecca Stambler <[email protected]> Run-TryBot: Rebecca Stambler <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Peter Weinberger <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 7271753 commit 726034e

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

gopls/doc/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Default: `{"gc_details":false,"generate":true,"regenerate_cgo":true,"tidy":true,
213213
semanticTokens controls whether the LSP server will send
214214
semantic tokens to the client.
215215

216-
Default: `true`.
216+
Default: `false`.
217217

218218
#### Completion
219219

internal/lsp/source/api_json.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.

internal/lsp/source/options.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ func DefaultOptions() *Options {
143143
string(command.UpgradeDependency): true,
144144
string(command.Vendor): true,
145145
},
146-
SemanticTokens: true,
147146
},
148147
},
149148
InternalOptions: InternalOptions{

0 commit comments

Comments
 (0)