aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/php
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/php')
-rw-r--r--lua/alpha/php/gateway.lua2
-rw-r--r--lua/alpha/php/lsp.lua6
2 files changed, 4 insertions, 4 deletions
diff --git a/lua/alpha/php/gateway.lua b/lua/alpha/php/gateway.lua
index d196a85..9d78bf1 100644
--- a/lua/alpha/php/gateway.lua
+++ b/lua/alpha/php/gateway.lua
@@ -44,7 +44,7 @@ local open_resolver = function (resolver)
fqn = string.gsub(fqn, "\\\\", "\\")
-- P(fqn)
- R("alpha.php.lsp").find(fqn)
+ R("alpha.php.lsp").find(fqn, 'phpactor')
end
--- @param bufnr integer Buff id
diff --git a/lua/alpha/php/lsp.lua b/lua/alpha/php/lsp.lua
index 6845d1c..506ed40 100644
--- a/lua/alpha/php/lsp.lua
+++ b/lua/alpha/php/lsp.lua
@@ -20,9 +20,9 @@ lsp.get_lsp_buffer = function(server_name)
return buffers[1]
end
---- @param search string: fully name to search Class::method
-lsp.find = function(search, client)
- search = vim.split(search, "::")
+--- @param fqn string: fully name to search Class::method
+lsp.find = function(fqn, client)
+ local search = vim.split(fqn, "::")
local fqn_class = search[1]
local method = search[2]