aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/snippets/php.lua
diff options
context:
space:
mode:
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, {