mirror of
https://github.com/coder/code-server.git
synced 2024-12-04 15:00:38 +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: '()',
|
|
} |