Skip to content

Commit

Permalink
Revert "internal/lsp: enable semantic tokens by default"
Browse files Browse the repository at this point in the history
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 <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>
  • Loading branch information
stamblerre committed Jun 2, 2021
1 parent 7271753 commit 726034e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gopls/doc/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion internal/lsp/source/api_json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion internal/lsp/source/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func DefaultOptions() *Options {
string(command.UpgradeDependency): true,
string(command.Vendor): true,
},
SemanticTokens: true,
},
},
InternalOptions: InternalOptions{
Expand Down

0 comments on commit 726034e

Please sign in to comment.