Skip to content

Commit

Permalink
Merge pull request #10 from Monchi/triggered-by-char
Browse files Browse the repository at this point in the history
Do not show auto-completion when triggered by char
  • Loading branch information
yukukotani authored Sep 5, 2021
2 parents bae639c + 544473f commit acd7f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit acd7f62

Please # to comment.