From fbac429093f7b2eae63dba49d11c736d907bde60 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Fri, 18 Oct 2019 11:17:50 +0200 Subject: [PATCH] Clarify insertTextFormat default --- _specifications/specification-3-14.md | 3 ++- _specifications/specification-3-15.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_specifications/specification-3-14.md b/_specifications/specification-3-14.md index d869f2d..697671d 100644 --- a/_specifications/specification-3-14.md +++ b/_specifications/specification-3-14.md @@ -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; diff --git a/_specifications/specification-3-15.md b/_specifications/specification-3-15.md index fbac8c6..ee33d80 100644 --- a/_specifications/specification-3-15.md +++ b/_specifications/specification-3-15.md @@ -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;