Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/lua/language-configuration.json
3309 views
1
{
2
"comments": {
3
"lineComment": "--",
4
"blockComment": [ "--[[", "]]" ]
5
},
6
"brackets": [
7
["{", "}"],
8
["[", "]"],
9
["(", ")"]
10
],
11
"autoClosingPairs": [
12
["{", "}"],
13
["[", "]"],
14
["(", ")"],
15
{ "open": "\"", "close": "\"", "notIn": ["string"] },
16
{ "open": "'", "close": "'", "notIn": ["string"] }
17
],
18
"surroundingPairs": [
19
["{", "}"],
20
["[", "]"],
21
["(", ")"],
22
["\"", "\""],
23
["'", "'"]
24
],
25
"indentationRules": {
26
"increaseIndentPattern": "^((?!(\\-\\-)).)*((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$",
27
"decreaseIndentPattern": "^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))"
28
}
29
}
30
31