mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
Fixes bracket fixing bug for inline completions.
This commit is contained in:
@@ -85,7 +85,7 @@ export class BracketTokens {
|
||||
|
||||
findClosingTokenText(openingBracketIds: SmallImmutableSet<OpeningBracketId>): string | undefined {
|
||||
for (const [closingText, info] of this.map) {
|
||||
if (info.bracketIds.intersects(openingBracketIds)) {
|
||||
if (info.kind === TokenKind.ClosingBracket && info.bracketIds.intersects(openingBracketIds)) {
|
||||
return closingText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user