Skip to content

Commit 544473f

Browse files
committed
dont show completion when triggered by char
1 parent bae639c commit 544473f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function init() {
2121
info.languageService.getCompletionsAtPosition = (fileName, position, options) => {
2222
log('getCompletionsAtPosition', { fileName, position, options });
2323
const original = getCompletionsAtPosition(fileName, position, options);
24-
if (original == null) {
24+
if (original == null || options?.triggerCharacter != null) {
2525
return original;
2626
}
2727

0 commit comments

Comments
 (0)