Support InsertReplaceEdit in CompletionItem #28
Labels
area/protocol
help wanted
Extra attention is needed
kind/specification
Language Server Protocol specification
Since LSP 3.16.0, CompletionItem supports either
*TextEdit
or*InsertReplaceEdit
for the fieldTextEdit
. The current implementation in Go supports*TextEdit
only.After a quick review, the following changes seem to be needed to cater for this additional type. Most likely
language_gojay_test.go
andlanguage_test.go
need to be modified too, but the needed code changes are less obvious to me. I'm more than happy to submit an initial PR too, let me know what you prefer.language.go
language_gojay.go
The text was updated successfully, but these errors were encountered: