Skip to content

Commit 11e9d9c

Browse files
committed
internal/lsp/source: set default InsertTextFormat to PlainText
CL 212519 unintentionally changed the default for this option. Change-Id: I42df51ba68e78af1493d0461ad4efff3dd55da9d Reviewed-on: https://go-review.googlesource.com/c/tools/+/213640 Run-TryBot: Rebecca Stambler <[email protected]> Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent a222fb4 commit 11e9d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/lsp/source/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var (
5151
Hooks: DefaultHooks,
5252
}
5353
DefaultClientOptions = ClientOptions{
54-
InsertTextFormat: protocol.SnippetTextFormat,
54+
InsertTextFormat: protocol.PlainTextTextFormat,
5555
PreferredContentFormat: protocol.Markdown,
5656
ConfigurationSupported: true,
5757
DynamicConfigurationSupported: true,

0 commit comments

Comments
 (0)