Skip to content

Commit 9ee425c

Browse files
committed
Auto-closing backticks in Python. Fixes microsoft#41615
1 parent 6b8e9cf commit 9ee425c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

extensions/bat/language-configuration.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
["{", "}"],
1212
["[", "]"],
1313
["(", ")"],
14-
["\"", "\""],
15-
["`", "`"]
14+
["\"", "\""]
1615
],
1716
"surroundingPairs": [
1817
["{", "}"],

extensions/python/language-configuration.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@
2929
{ "open": "f'", "close": "'", "notIn": ["string", "comment"] },
3030
{ "open": "F'", "close": "'", "notIn": ["string", "comment"] },
3131
{ "open": "b'", "close": "'", "notIn": ["string", "comment"] },
32-
{ "open": "B'", "close": "'", "notIn": ["string", "comment"] }
32+
{ "open": "B'", "close": "'", "notIn": ["string", "comment"] },
33+
{ "open": "`", "close": "`", "notIn": ["string"] }
3334
],
3435
"surroundingPairs": [
3536
["{", "}"],
3637
["[", "]"],
3738
["(", ")"],
3839
["\"", "\""],
39-
["'", "'"]
40+
["'", "'"],
41+
["`", "`"]
4042
],
4143
"folding": {
4244
"offSide": true,

0 commit comments

Comments
 (0)