aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha')
-rw-r--r--lua/alpha/lsp/null-ls.lua6
-rw-r--r--lua/alpha/php/gateway.lua2
-rw-r--r--lua/alpha/telescope/init.lua2
3 files changed, 4 insertions, 6 deletions
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", "<c-y>", fb_actions.create)
+ map("i", "<c-y>", fb_actions.create_from_prompt)
return true
end,