mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Add ` as an autoClosingPair in markdown (#184532)
Fixes #183489 Will test this out to see if it's helpful or too annoying
This commit is contained in:
@@ -8,12 +8,20 @@
|
||||
},
|
||||
// symbols used as brackets
|
||||
"brackets": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"colorizedBracketPairs": [
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
]
|
||||
],
|
||||
"colorizedBracketPairs": [],
|
||||
"autoClosingPairs": [
|
||||
{
|
||||
"open": "{",
|
||||
@@ -33,17 +41,49 @@
|
||||
"notIn": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"open": "`",
|
||||
"close": "`"
|
||||
},
|
||||
{
|
||||
"open": "```",
|
||||
"close": "```"
|
||||
},
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["(", ")"],
|
||||
["[", "]"],
|
||||
["`", "`"],
|
||||
["_", "_"],
|
||||
["*", "*"],
|
||||
["{", "}"],
|
||||
["'", "'"],
|
||||
["\"", "\""]
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"`",
|
||||
"`"
|
||||
],
|
||||
[
|
||||
"_",
|
||||
"_"
|
||||
],
|
||||
[
|
||||
"*",
|
||||
"*"
|
||||
],
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"'",
|
||||
"'"
|
||||
],
|
||||
[
|
||||
"\"",
|
||||
"\""
|
||||
]
|
||||
],
|
||||
"folding": {
|
||||
"offSide": true,
|
||||
@@ -52,5 +92,8 @@
|
||||
"end": "^\\s*<!--\\s*#?endregion\\b.*-->"
|
||||
}
|
||||
},
|
||||
"wordPattern": { "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*", "flags": "ug" },
|
||||
"wordPattern": {
|
||||
"pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*",
|
||||
"flags": "ug"
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user