Skip to content

Commit acd7f62

Browse files
authored
Merge pull request #10 from Monchi/triggered-by-char
Do not show auto-completion when triggered by char
2 parents bae639c + 544473f commit acd7f62

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)