aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snippets.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-11-20 20:25:07 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-11-20 20:25:07 +0100
commit31efe743072b868d4bb86ed709b85253db0b1f60 (patch)
tree9fb46944cb2130b4e38e9af706c20d9fef4d25fb /lua/alpha/snippets.lua
parent742388c8ee0e68993d67beac362eaa98439f9394 (diff)
downloadnvim-conf-31efe743072b868d4bb86ed709b85253db0b1f60.tar.gz
nvim-conf-31efe743072b868d4bb86ed709b85253db0b1f60.zip
Update config
Diffstat (limited to 'lua/alpha/snippets.lua')
-rw-r--r--lua/alpha/snippets.lua8
1 files changed, 7 insertions, 1 deletions
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({"", "}"})
+ }),
}
}