2015-11-13 14:39:38 +01:00
|
|
|
{
|
|
|
|
"comments": {
|
|
|
|
"lineComment": "--",
|
|
|
|
"blockComment": [ "--[[", "]]" ]
|
|
|
|
},
|
|
|
|
"brackets": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"]
|
2016-04-21 22:45:11 +02:00
|
|
|
],
|
|
|
|
"autoClosingPairs": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"],
|
|
|
|
["\"", "\""],
|
|
|
|
["'", "'"]
|
|
|
|
],
|
|
|
|
"surroundingPairs": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"],
|
|
|
|
["\"", "\""],
|
|
|
|
["'", "'"]
|
2017-09-13 17:12:17 +02:00
|
|
|
],
|
|
|
|
"indentationRules": {
|
|
|
|
"increaseIndentPattern": "((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$",
|
|
|
|
"decreaseIndentPattern": "^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))"
|
|
|
|
}
|
|
|
|
}
|