vscode/extensions/lua/language-configuration.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
647 B
JSON
Raw Normal View History

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