aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snippets/php.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-12-03 18:30:55 +0100
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2021-12-03 18:30:55 +0100
commit5de6c2b78db78cd9da3b0ae240d8a40e65eba12f (patch)
treecdab31b45d2007e19cce1be55647b3c978ce41d9 /lua/alpha/snippets/php.lua
parent9a4440e28d43ee9de2150f069f1ee4c40b20e729 (diff)
downloadnvim-conf-5de6c2b78db78cd9da3b0ae240d8a40e65eba12f.tar.gz
nvim-conf-5de6c2b78db78cd9da3b0ae240d8a40e65eba12f.zip
add snipets, remove lsp.vim file
Diffstat (limited to 'lua/alpha/snippets/php.lua')
-rw-r--r--lua/alpha/snippets/php.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/alpha/snippets/php.lua b/lua/alpha/snippets/php.lua
index 0831aa3..cc84950 100644
--- a/lua/alpha/snippets/php.lua
+++ b/lua/alpha/snippets/php.lua
@@ -5,8 +5,8 @@ local t = ls.text_node
local i = ls.insert_node
local c = ls.choice_node
local d = ls.dynamic_node
-local f = ls.function_node
-local l = require("luasnip.extras").lambda
+-- local f = ls.function_node
+-- local l = require("luasnip.extras").lambda
-- visibility allows to reuse it pasing the first option to show for the
-- snippet
@@ -70,7 +70,7 @@ ls.snippets = {
-- __construct
s("_c", {
- d(1, visibility, {}),
+ d(1, visibility, {}, "public"),
t('function __construct('),
c(2, {
sn(nil, {