From 5de6c2b78db78cd9da3b0ae240d8a40e65eba12f Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 3 Dec 2021 18:30:55 +0100 Subject: add snipets, remove lsp.vim file --- lua/alpha/snippets/php.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/alpha/snippets/php.lua') 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, { -- cgit v1.2.3