mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-30 22:18:44 +00:00
eae5d8c807
These conflicts will be resolved in the following commits. We do it this way so that PR review is possible.
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"comments": {
|
|
"lineComment": "#",
|
|
"blockComment": [ "\"\"\"", "\"\"\"" ]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}" },
|
|
{ "open": "[", "close": "]" },
|
|
{ "open": "(", "close": ")" },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
|
{ "open": "r\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "R\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "u\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "U\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "f\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "F\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "b\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "B\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "r'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "R'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "u'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "U'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "f'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "F'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "b'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "B'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "`", "close": "`", "notIn": ["string"] }
|
|
],
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["\"", "\""],
|
|
["'", "'"],
|
|
["`", "`"]
|
|
],
|
|
"folding": {
|
|
"offSide": true,
|
|
"markers": {
|
|
"start": "^\\s*#\\s*region\\b",
|
|
"end": "^\\s*#\\s*endregion\\b"
|
|
}
|
|
},
|
|
"onEnterRules": [
|
|
{
|
|
"beforeText": "^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$",
|
|
"action": { "indent": "indent" }
|
|
}
|
|
]
|
|
}
|