Skip to content

Commit 68c2a97

Browse files
committed
Fix determination of closing characters for «» and full-width brackets
FIX: Fix an issue where the closing character for double-angle quotation marks and full-width brackets was computed incorrectly.
1 parent 7693f35 commit 68c2a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/closebrackets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function closeBrackets(): Extension {
6161
return [inputHandler, bracketState]
6262
}
6363

64-
const definedClosing = "()[]{}<>"
64+
const definedClosing = "()[]{}<>«»»«[]{}"
6565

6666
function closing(ch: number) {
6767
for (let i = 0; i < definedClosing.length; i += 2)

0 commit comments

Comments
 (0)