1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:34:40 -07:00
go/internal/lsp/protocol
Peter Weinbergr 3e041465cc internal/lsp: change the type of CompletionItem.TextEdit back
The recent LPS protocol change made the definition of textEdit into
a union type, so the generated code made TextEdit an interface{},
which broke govim. This CL reverts it to a *TextEdit. The code
generator will be fixed in another CL.

We can revisit this when  gopls wants to start using the new
InsertReplaceEdit type.

Change-Id: I4d7a14b3746b747f34b0907f72ecbc3593706a05
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222765
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-03-10 21:12:04 +00:00
..
typescript internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00
context.go internal/telemetry: moving towards a unified event based exporter 2020-03-03 22:56:52 +00:00
doc.go
enums.go internal/lsp: remove duplicated enums 2019-09-25 15:30:23 +00:00
log.go internal/lsp: fix lsp trace log format for gopls 2019-10-16 17:14:07 +00:00
protocol.go internal/lsp: refactor LSP server instantiation 2020-02-06 23:12:37 +00:00
span.go internal/span,lsp: disambiguate URIs, DocumentURIs, and paths 2020-02-14 22:51:03 +00:00
tsclient.go internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00
tsprotocol.go internal/lsp: change the type of CompletionItem.TextEdit back 2020-03-10 21:12:04 +00:00
tsserver.go internal/lsp: bring generated protocol code up to date; stop corrupting logs 2020-03-09 20:21:50 +00:00