mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
Fixes bracket fixing bug for inline completions.
This commit is contained in:
parent
faa736ed0e
commit
753fc8a044
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user