From fd46c9fa03cf4870b535ec3a7b8a7e87d5586015 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 26 Sep 2022 15:06:46 +0200 Subject: Treesitter fix injections --- lua/alpha/snips/ft/php.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/alpha/snips/ft/php.lua') 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 -- cgit v1.2.3