aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snips/ft/php.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/snips/ft/php.lua')
-rw-r--r--lua/alpha/snips/ft/php.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/alpha/snips/ft/php.lua b/lua/alpha/snips/ft/php.lua
index 9673a49..5ca63f6 100644
--- a/lua/alpha/snips/ft/php.lua
+++ b/lua/alpha/snips/ft/php.lua
@@ -146,4 +146,8 @@ M.fn = {
newline("}"),
}
+M["then"] = fmt([[->then(function ({}) {{
+ {}
+}})]], {i(1, ""), i(2, "")})
+
return M