forked from openkylin/kylin-code
57 lines
1.0 KiB
JSON
57 lines
1.0 KiB
JSON
{
|
|
"comments": {
|
|
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
|
"blockComment": [
|
|
"<!--",
|
|
"-->"
|
|
]
|
|
},
|
|
// symbols used as brackets
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"colorizedBracketPairs": [
|
|
],
|
|
"autoClosingPairs": [
|
|
{
|
|
"open": "{",
|
|
"close": "}"
|
|
},
|
|
{
|
|
"open": "[",
|
|
"close": "]"
|
|
},
|
|
{
|
|
"open": "(",
|
|
"close": ")"
|
|
},
|
|
{
|
|
"open": "<",
|
|
"close": ">",
|
|
"notIn": [
|
|
"string"
|
|
]
|
|
}
|
|
],
|
|
"surroundingPairs": [
|
|
["(", ")"],
|
|
["[", "]"],
|
|
["`", "`"],
|
|
["_", "_"],
|
|
["*", "*"],
|
|
["{", "}"],
|
|
["'", "'"],
|
|
["\"", "\""]
|
|
],
|
|
"folding": {
|
|
"offSide": true,
|
|
"markers": {
|
|
"start": "^\\s*<!--\\s*#?region\\b.*-->",
|
|
"end": "^\\s*<!--\\s*#?endregion\\b.*-->"
|
|
}
|
|
},
|
|
"wordPattern": { "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*", "flags": "ug" },
|
|
}
|