From 31efe743072b868d4bb86ed709b85253db0b1f60 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sat, 20 Nov 2021 20:25:07 +0100 Subject: Update config --- lua/alpha/snippets.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lua/alpha/snippets.lua') diff --git a/lua/alpha/snippets.lua b/lua/alpha/snippets.lua index c326f72..bdf217b 100644 --- a/lua/alpha/snippets.lua +++ b/lua/alpha/snippets.lua @@ -18,6 +18,12 @@ ls.snippets = { t({""," */", "private $"}), i(2, "name"), t(";", ""), - }) + }), + s("pf", { + t("public function"), i(1, "name"), t("("), i(2, "$arg"), t(")"), + t({"", "{"}), + i(0, " "), + t({"", "}"}) + }), } } -- cgit v1.2.3