Revert "internal/lsp: enable semantic tokens by default"

This reverts commit 5ab822f631.

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 <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
Rebecca Stambler 2021-06-02 18:11:56 +00:00
parent 7271753b67
commit 726034ecff
3 changed files with 2 additions and 3 deletions

View File

@ -213,7 +213,7 @@ Default: `{"gc_details":false,"generate":true,"regenerate_cgo":true,"tidy":true,
semanticTokens controls whether the LSP server will send
semantic tokens to the client.
Default: `true`.
Default: `false`.
#### Completion

View File

@ -697,7 +697,7 @@ var GeneratedAPIJSON = &APIJSON{
Keys: nil,
},
EnumValues: nil,
Default: "true",
Default: "false",
Status: "experimental",
Hierarchy: "ui",
},

View File

@ -143,7 +143,6 @@ func DefaultOptions() *Options {
string(command.UpgradeDependency): true,
string(command.Vendor): true,
},
SemanticTokens: true,
},
},
InternalOptions: InternalOptions{