mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-30 22:18:44 +00:00
30 lines
647 B
JSON
30 lines
647 B
JSON
|
{
|
||
|
"comments": {
|
||
|
"lineComment": "--",
|
||
|
"blockComment": [ "--[[", "]]" ]
|
||
|
},
|
||
|
"brackets": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"]
|
||
|
],
|
||
|
"autoClosingPairs": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||
|
{ "open": "'", "close": "'", "notIn": ["string"] }
|
||
|
],
|
||
|
"surroundingPairs": [
|
||
|
["{", "}"],
|
||
|
["[", "]"],
|
||
|
["(", ")"],
|
||
|
["\"", "\""],
|
||
|
["'", "'"]
|
||
|
],
|
||
|
"indentationRules": {
|
||
|
"increaseIndentPattern": "^((?!(\\-\\-)).)*((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$",
|
||
|
"decreaseIndentPattern": "^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))"
|
||
|
}
|
||
|
}
|