mirror of https://github.com/golang/go.git
internal/lsp/protocol: fix type of WorkspaceEdit.Changes in tsprotocol.go
The new corrected type is map[string][]TextEdit. The old type
was incorrectly struct{}.
Change-Id: I3cb64eee90c5281b3fb40e543026cd308c55c49a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/207717
Run-TryBot: Peter Weinberger <pjw@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
parent
1ef994f2c9
commit
13f8be5f57
|
|
@ -1,7 +1,7 @@
|
|||
// Package protocol contains data types and code for LSP jsonrpcs
|
||||
// generated automatically from vscode-languageserver-node
|
||||
// commit: 635ab1fe6f8c57ce9402e573d007f24d6d290fd3
|
||||
// last fetched Sun Oct 13 2019 10:14:32 GMT-0400 (Eastern Daylight Time)
|
||||
// last fetched Mon Oct 14 2019 09:09:30 GMT-0400 (Eastern Daylight Time)
|
||||
package protocol
|
||||
|
||||
// Code generated (see typescript/README.md) DO NOT EDIT.
|
||||
|
|
@ -3178,8 +3178,7 @@ type WorkspaceEdit struct {
|
|||
/**
|
||||
* Holds changes to existing resources.
|
||||
*/
|
||||
Changes struct {
|
||||
} `json:"changes,omitempty"`
|
||||
Changes map[string][]TextEdit `json:"changes,omitempty"`
|
||||
/**
|
||||
* Depending on the client capability `workspace.workspaceEdit.resourceOperations` document changes
|
||||
* are either an array of `TextDocumentEdit`s to express changes to n different text documents
|
||||
|
|
|
|||
Loading…
Reference in New Issue