vscode/extensions/markdown-basics/language-configuration.json
Matt Bierner 703a75da38
Add ` as an autoClosingPair in markdown (#184532)
Fixes #183489

Will test this out to see if it's helpful or too annoying
2023-06-07 13:05:01 -07:00

100 lines
1.2 KiB
JSON

{
"comments": {
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [
"<!--",
"-->"
]
},
// symbols used as brackets
"brackets": [
[
"{",
"}"
],
[
"[",
"]"
],
[
"(",
")"
]
],
"colorizedBracketPairs": [],
"autoClosingPairs": [
{
"open": "{",
"close": "}"
},
{
"open": "[",
"close": "]"
},
{
"open": "(",
"close": ")"
},
{
"open": "<",
"close": ">",
"notIn": [
"string"
]
},
{
"open": "`",
"close": "`"
},
{
"open": "```",
"close": "```"
},
],
"surroundingPairs": [
[
"(",
")"
],
[
"[",
"]"
],
[
"`",
"`"
],
[
"_",
"_"
],
[
"*",
"*"
],
[
"{",
"}"
],
[
"'",
"'"
],
[
"\"",
"\""
]
],
"folding": {
"offSide": true,
"markers": {
"start": "^\\s*<!--\\s*#?region\\b.*-->",
"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"
},
}