Clarify insertTextFormat default

This commit is contained in:
Dirk Baeumer 2019-10-18 11:17:50 +02:00
parent 2a18aa5e3b
commit fbac429093
2 changed files with 4 additions and 2 deletions

View file

@ -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;

View file

@ -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;