From 544473f4be2b7027ad48111983417a66d6e88f5d Mon Sep 17 00:00:00 2001 From: Yuku Kotani Date: Mon, 6 Sep 2021 02:53:23 +0900 Subject: [PATCH] dont show completion when triggered by char --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0175af8..4c63a29 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,7 @@ function init() { info.languageService.getCompletionsAtPosition = (fileName, position, options) => { log('getCompletionsAtPosition', { fileName, position, options }); const original = getCompletionsAtPosition(fileName, position, options); - if (original == null) { + if (original == null || options?.triggerCharacter != null) { return original; }