From 3cb6d2e27ac963abb21a3e1b4f865e44f37dee48 Mon Sep 17 00:00:00 2001 From: wyozi Date: Fri, 21 Nov 2014 17:20:40 +0200 Subject: [PATCH] Fix indentation in functions inside tables --- scoped-properties/language-lua.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scoped-properties/language-lua.cson b/scoped-properties/language-lua.cson index b59cf74..1fb291a 100644 --- a/scoped-properties/language-lua.cson +++ b/scoped-properties/language-lua.cson @@ -2,4 +2,4 @@ 'editor': 'commentStart': '-- ' 'increaseIndentPattern': '\\b(else|elseif|(local\\s+)?function|then|do|repeat)\\b((?!end).)*$|\\{\\s*$' - 'decreaseIndentPattern': '^\\s*(elseif|else|end|\\})\\s*$' + 'decreaseIndentPattern': '^\\s*(elseif|else|end,?|\\}\\)?)\\s*$'