From d23981b72ef21ab2bbdad00acadb99015a7403eb Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Thu, 13 Apr 2023 09:28:13 +0200 Subject: feat(clean): remove some parts --- lua/alpha/lsp/null-ls.lua | 6 +++--- lua/alpha/php/gateway.lua | 2 -- lua/alpha/telescope/init.lua | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'lua') diff --git a/lua/alpha/lsp/null-ls.lua b/lua/alpha/lsp/null-ls.lua index 2c4c3bc..be3d4e9 100644 --- a/lua/alpha/lsp/null-ls.lua +++ b/lua/alpha/lsp/null-ls.lua @@ -1,5 +1,5 @@ local null_ls = require "null-ls" -local php_actions = require "php-code-actions" +-- local php_actions = require "php-code-actions" -- local laravel_actions = require("laravel.code-actions") null_ls.setup { @@ -11,8 +11,8 @@ null_ls.setup { null_ls.builtins.diagnostics.luacheck, null_ls.builtins.formatting.stylua, - php_actions.getter_setter, - php_actions.file_creator, + -- php_actions.getter_setter, + -- php_actions.file_creator, null_ls.builtins.diagnostics.phpstan.with { to_temp_file = false, diff --git a/lua/alpha/php/gateway.lua b/lua/alpha/php/gateway.lua index 07fad33..5f8ddae 100644 --- a/lua/alpha/php/gateway.lua +++ b/lua/alpha/php/gateway.lua @@ -34,8 +34,6 @@ local open_resolver = function(resolver) args = string.match(resolver, "'@=query%((.+)%)'") end if args == nil then - P "error resolver" - P(resolver) return end diff --git a/lua/alpha/telescope/init.lua b/lua/alpha/telescope/init.lua index 70ef47f..38cd9be 100644 --- a/lua/alpha/telescope/init.lua +++ b/lua/alpha/telescope/init.lua @@ -165,7 +165,7 @@ function M.file_browser(opts) }, attach_mappings = function(_, map) - map("i", "", fb_actions.create) + map("i", "", fb_actions.create_from_prompt) return true end, -- cgit v1.2.3