aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/init.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-03-23 18:55:39 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-03-23 18:55:39 -0400
commit7574f919fe853343be78f88a1b8594c72e5ef28d (patch)
tree4d4aef6532c3d8487d6e15ef4b871ffd1c4828de /modules/lua/init.lua
parentdf3c07f9708affb1313bb528e684d73ec18c3bbd (diff)
downloadtextadept-7574f919fe853343be78f88a1b8594c72e5ef28d.tar.gz
textadept-7574f919fe853343be78f88a1b8594c72e5ef28d.zip
Updated language modules to use new snippet syntax.
Diffstat (limited to 'modules/lua/init.lua')
-rw-r--r--modules/lua/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index f40cbee5..ae4d8ffc 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -191,7 +191,7 @@ if type(_G.snippets) == 'table' then
l = "local %1(expr)%2( = %3(value))",
p = "print(%0)",
f = "function %1(name)(%2(args))\n\t%0\nend",
- ['for'] = "for i=%1(1), %2(10)%3(, -1) do\n\t%0\nend",
+ ['for'] = "for i = %1(1), %2(10)%3(, -1) do\n\t%0\nend",
fori = "for %1(i), %2(val) in ipairs(%3(table)) do\n\t%0\nend",
forp = "for %1(k), %2(v) in pairs(%3(table)) do\n\t%0\nend",
}