Add indentationRules to lua

This commit is contained in:
rinqu-eu 2017-09-13 17:12:17 +02:00 committed by GitHub
parent a400e3a239
commit 210185a525

View file

@ -21,5 +21,9 @@
["(", ")"], ["(", ")"],
["\"", "\""], ["\"", "\""],
["'", "'"] ["'", "'"]
] ],
} "indentationRules": {
"increaseIndentPattern": "((\\b(else|function|then|do|repeat)\\b((?!\\b(end|until)\\b).)*)|(\\{\\s*))$",
"decreaseIndentPattern": "^\\s*((\\b(elseif|else|end|until)\\b)|(\\})|(\\)))"
}
}