mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Clarify insertTextFormat default
This commit is contained in:
parent
2a18aa5e3b
commit
fbac429093
2 changed files with 4 additions and 2 deletions
|
|
@ -2956,7 +2956,8 @@ interface CompletionItem {
|
|||
|
||||
/**
|
||||
* The format of the insert text. The format applies to both the `insertText` property
|
||||
* and the `newText` property of a provided `textEdit`.
|
||||
* and the `newText` property of a provided `textEdit`. If ommitted defaults to
|
||||
* `InsertTextFormat.PlainText`.
|
||||
*/
|
||||
insertTextFormat?: InsertTextFormat;
|
||||
|
||||
|
|
|
|||
|
|
@ -3276,7 +3276,8 @@ export interface CompletionItem {
|
|||
|
||||
/**
|
||||
* The format of the insert text. The format applies to both the `insertText` property
|
||||
* and the `newText` property of a provided `textEdit`.
|
||||
* and the `newText` property of a provided `textEdit`. If ommitted defaults to
|
||||
* `InsertTextFormat.PlainText`.
|
||||
*/
|
||||
insertTextFormat?: InsertTextFormat;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue