Skip to content

Commit 3306772

Browse files
committed
Add | to autoCloseBefore
1 parent 7ea88fc commit 3306772

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

language-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
["\\\\k<", ">"],
3333
["\\\\k'", "'"]
3434
],
35-
"autoCloseBefore": "[]{}():,\\\" \n\t", // https://github.com/microsoft/vscode/issues/133397
35+
"autoCloseBefore": "[]{}()|:,\\\" \n\t", // https://github.com/microsoft/vscode/issues/133397
3636
// symbols that can be used to surround a selection
3737
"surroundingPairs": [ // Doesn't work in embedded languages
3838
["{", "}"],

language-configurations/regex.language-configuration.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
["\\\\k<", ">"],
3232
["\\\\k'", "'"]
3333
],
34-
"autoCloseBefore": "()[]\\\" ",
34+
"autoCloseBefore": "()[]|\\\" ",
3535
// symbols that can be used to surround a selection
3636
"surroundingPairs": [
3737
["(", ")"],

0 commit comments

Comments
 (0)