aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-09-26 15:06:46 +0200
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2022-09-26 15:06:46 +0200
commitfd46c9fa03cf4870b535ec3a7b8a7e87d5586015 (patch)
tree499ea3735dda27d22170ac005d9b4d2b87f9031f /lua/alpha
parentb2ea5bb4976ad786a104d5539d47645ddef237a9 (diff)
downloadnvim-conf-fd46c9fa03cf4870b535ec3a7b8a7e87d5586015.tar.gz
nvim-conf-fd46c9fa03cf4870b535ec3a7b8a7e87d5586015.zip
Treesitter fix injections
Diffstat (limited to 'lua/alpha')
-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