aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/lua/func.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/lua/func.lua')
-rw-r--r--tests/indent/lua/func.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/indent/lua/func.lua b/tests/indent/lua/func.lua
new file mode 100644
index 000000000..1f95ca97a
--- /dev/null
+++ b/tests/indent/lua/func.lua
@@ -0,0 +1,9 @@
+function foo(x)
+ local bar = function(a, b, c)
+ return a + b + c
+ end
+ return bar(
+ x,
+ 1,
+ 2)
+end