Skip to content

Commit 8f58654

Browse files
authored
1 parent 0917209 commit 8f58654

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export class InlineCompletionContextKeys extends Disposable {
3232
const model = this.model.read(reader);
3333
const suggestion = model?.selectedInlineCompletion.read(reader);
3434
const ghostText = model?.ghostText.read(reader);
35-
const selectedSuggestItem = model?.selectedSuggestItem.read(reader);
36-
this.inlineCompletionVisible.set(selectedSuggestItem === undefined && ghostText !== undefined && !ghostText.isEmpty());
35+
this.inlineCompletionVisible.set(ghostText !== undefined && !ghostText.isEmpty());
3736

3837
if (ghostText && suggestion) {
3938
this.suppressSuggestions.set(suggestion.inlineCompletion.source.inlineCompletions.suppressSuggestions);

0 commit comments

Comments
 (0)