Merge pull request #68978 from WorldofBay/patch-1

fix lua indentation
This commit is contained in:
Alexandru Dima 2019-02-19 17:13:28 +01:00 committed by GitHub
commit ba304fe32c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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