forked from openkylin/kylin-code
37 lines
942 B
JSON
37 lines
942 B
JSON
|
{
|
||
|
"comments": {
|
||
|
"blockComment": ["/*", "*/"],
|
||
|
"lineComment": "//"
|
||
|
},
|
||
|
"brackets": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"]
|
||
|
],
|
||
|
"autoClosingPairs": [
|
||
|
{ "open": "{", "close": "}", "notIn": ["string", "comment"] },
|
||
|
{ "open": "[", "close": "]", "notIn": ["string", "comment"] },
|
||
|
{ "open": "(", "close": ")", "notIn": ["string", "comment"] },
|
||
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
||
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
||
|
],
|
||
|
"surroundingPairs": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
["\"", "\""],
|
||
|
["'", "'"]
|
||
|
],
|
||
|
"folding": {
|
||
|
"markers": {
|
||
|
"start": "^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/",
|
||
|
"end": "^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/"
|
||
|
}
|
||
|
},
|
||
|
"indentationRules": {
|
||
|
"increaseIndentPattern": "(^.*\\{[^}]*$)",
|
||
|
"decreaseIndentPattern": "^\\s*\\}"
|
||
|
},
|
||
|
"wordPattern": "(#?-?\\d*\\.\\d\\w*%?)|(::?[\\w-]+(?=[^,{;]*[,{]))|(([@#.!])?[\\w-?]+%?|[@#!.])"
|
||
|
}
|