forked from openkylin/kylin-code
24 lines
751 B
JSON
24 lines
751 B
JSON
|
{
|
||
|
"comments": {
|
||
|
"lineComment": "//",
|
||
|
"blockComment": [ "/*", "*/" ]
|
||
|
},
|
||
|
"brackets": [
|
||
|
["{", "}"],
|
||
|
["[", "]"]
|
||
|
],
|
||
|
"autoClosingPairs": [
|
||
|
{ "open": "{", "close": "}", "notIn": ["string"] },
|
||
|
{ "open": "[", "close": "]", "notIn": ["string"] },
|
||
|
{ "open": "(", "close": ")", "notIn": ["string"] },
|
||
|
{ "open": "'", "close": "'", "notIn": ["string"] },
|
||
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
||
|
{ "open": "`", "close": "`", "notIn": ["string", "comment"] }
|
||
|
],
|
||
|
"wordPattern": "(\"(?:[^\\\\\\\"]*(?:\\\\.)?)*\"?)|[^\\s{}\\[\\],:]+",
|
||
|
"indentationRules": {
|
||
|
"increaseIndentPattern": "({+(?=([^\"]*\"[^\"]*\")*[^\"}]*$))|(\\[+(?=([^\"]*\"[^\"]*\")*[^\"\\]]*$))",
|
||
|
"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"
|
||
|
}
|
||
|
}
|