Skip to content

Commit 965efbb

Browse files
committed
feat: now global lib completions are marked with globe! (super recommended to enable)
1 parent 338c2bf commit 965efbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript/src/completions/markOrRemoveGlobalLibCompletions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const isLibCompletion = (symbol: ts.Symbol) => {
1010
}
1111

1212
export default (entries: ts.CompletionEntry[], position: number, languageService: ts.LanguageService, c: GetConfig) => {
13-
const action = c('removeOrMarkGlobalLibCompletions.action')
13+
const action = c('globalLibCompletions.action')
1414
if (action === 'disable') return
1515

1616
return compact(
@@ -27,7 +27,7 @@ export default (entries: ts.CompletionEntry[], position: number, languageService
2727
insertText: entry.name,
2828
labelDetails: {
2929
...entry.labelDetails,
30-
description: libCompletionEnding,
30+
description: `🌐${libCompletionEnding}`,
3131
},
3232
}
3333
}),

0 commit comments

Comments
 (0)