mirror of
https://github.com/Microsoft/vscode
synced 2024-10-31 01:12:58 +00:00
ce7f99fa96
This PR is a copy/paste of the HTML language configuration to have for instance autoClosingPairs for Comments and adds autoClosingPairs for CDATA.
34 lines
824 B
JSON
34 lines
824 B
JSON
{
|
|
"comments": {
|
|
"blockComment": [ "<!--", "-->" ]
|
|
},
|
|
"brackets": [
|
|
["<!--", "-->"],
|
|
["<", ">"],
|
|
["{", "}"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}"},
|
|
{ "open": "[", "close": "]"},
|
|
{ "open": "(", "close": ")" },
|
|
{ "open": "'", "close": "'" },
|
|
{ "open": "\"", "close": "\"" },
|
|
{ "open": "<!--", "close": "-->", "notIn": [ "comment", "string" ]},
|
|
{ "open": "<![CDATA[", "close": "]]>", "notIn": [ "comment", "string" ]}
|
|
],
|
|
"surroundingPairs": [
|
|
{ "open": "'", "close": "'" },
|
|
{ "open": "\"", "close": "\"" },
|
|
{ "open": "{", "close": "}"},
|
|
{ "open": "[", "close": "]"},
|
|
{ "open": "(", "close": ")" },
|
|
{ "open": "<", "close": ">" }
|
|
],
|
|
"folding": {
|
|
"markers": {
|
|
"start": "^\\s*<!--\\s*#region\\b.*-->",
|
|
"end": "^\\s*<!--\\s*#endregion\\b.*-->"
|
|
}
|
|
}
|
|
}
|