Skip to content

Commit 208e9a6

Browse files
committed
fix: mark global completions should work in any context except dot access
1 parent e292e0f commit 208e9a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/src/completionsAtPosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export const getCompletionsAtPosition = (
351351
})
352352
}
353353

354-
if (prior.isGlobalCompletion) {
354+
if (!prior.isMemberCompletion) {
355355
prior.entries = markOrRemoveGlobalCompletions(prior.entries, position, languageService, c) ?? prior.entries
356356
}
357357
if (exactNode) {

0 commit comments

Comments
 (0)