aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snippets.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-11-02 19:47:25 +0100
committerAriel D'Alessandro <ariel.dalessandro@auto1.com>2021-11-02 19:47:25 +0100
commitac3b516ea75b0cc8afedf31defa9f8e5117e35b1 (patch)
tree76a53b1ef973a27c0684e0962217a2c94b07206f /lua/alpha/snippets.lua
parent3bb224410a3a08472e4abe71a881926940127803 (diff)
downloadnvim-conf-ac3b516ea75b0cc8afedf31defa9f8e5117e35b1.tar.gz
nvim-conf-ac3b516ea75b0cc8afedf31defa9f8e5117e35b1.zip
add completition and snippets
Diffstat (limited to 'lua/alpha/snippets.lua')
-rw-r--r--lua/alpha/snippets.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/alpha/snippets.lua b/lua/alpha/snippets.lua
index 9a42b6c..c326f72 100644
--- a/lua/alpha/snippets.lua
+++ b/lua/alpha/snippets.lua
@@ -11,6 +11,13 @@ ls.snippets = {
php = {
s("$", {
t("$this->"),
+ }),
+ s("v", {
+ t({ "/**", " * @var " }),
+ i(1, "types"),
+ t({""," */", "private $"}),
+ i(2, "name"),
+ t(";", ""),
})
}
}