From f9ddfb1cd2ee937ce628b8507e91f1972f9e085d Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Tue, 13 Feb 2018 20:35:16 +0900 Subject: [PATCH] Introduce new CompletionTriggerKind for re-triggers Added a new CompletionTriggerKind named TriggerForIncompleteCompletions. This will be used when completion requests were re-triggered because the current completion list is incomplete. Signed-off-by: Remy Suen --- specification.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification.md b/specification.md index 826025a..2e48801 100644 --- a/specification.md +++ b/specification.md @@ -2118,8 +2118,13 @@ export namespace CompletionTriggerKind { * the `triggerCharacters` properties of the `CompletionRegistrationOptions`. */ export const TriggerCharacter: 2 = 2; + + /** + * Completion was re-triggered as the current completion list is incomplete. + */ + export const TriggerForIncompleteCompletions: 3 = 3; } -export type CompletionTriggerKind = 1 | 2; +export type CompletionTriggerKind = 1 | 2 | 3; /**