Skip to content

Commit 23a460f

Browse files
committed
increaseIndentPattern
1 parent 8e14cb0 commit 23a460f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function startClient() {
114114

115115
vscode.languages.setLanguageConfiguration("EmmyLua", {
116116
indentationRules: {
117-
increaseIndentPattern: /do|else|then|repeat/,
117+
increaseIndentPattern: /do|else|then|repeat|function[^\)]+\)/,
118118
decreaseIndentPattern: /end|else|elseif|until/,
119119
}
120120
});

0 commit comments

Comments
 (0)