mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
34 lines
810 B
JSON
34 lines
810 B
JSON
|
{
|
||
|
"comments": {
|
||
|
"lineComment": "--",
|
||
|
"blockComment": [ "/*", "*/" ]
|
||
|
},
|
||
|
"brackets": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"]
|
||
|
],
|
||
|
"autoClosingPairs": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||
|
{ "open": "N'", "close": "'", "notIn": ["string", "comment"] },
|
||
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
||
|
],
|
||
|
"surroundingPairs": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
["\"", "\""],
|
||
|
["'", "'"],
|
||
|
["`", "`"]
|
||
|
]
|
||
|
|
||
|
// enhancedBrackets:[
|
||
|
// { openTrigger: 'n', open: /begin$/i, closeComplete: 'end', matchCase: true },
|
||
|
// { openTrigger: 'e', open: /case$/i, closeComplete: 'end', matchCase: true },
|
||
|
// { openTrigger: 'n', open: /when$/i, closeComplete: 'then', matchCase: true }
|
||
|
// ],
|
||
|
// noindentBrackets: '()',
|
||
|
}
|