diff options
Diffstat (limited to 'lua/pi/php')
| -rw-r--r-- | lua/pi/php/lsp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/pi/php/lsp.lua b/lua/pi/php/lsp.lua index 37e0bc0..24711a1 100644 --- a/lua/pi/php/lsp.lua +++ b/lua/pi/php/lsp.lua @@ -12,7 +12,7 @@ end ---@param server_name string ---@return table|nil, boolean local get_client = function(server_name) - local clients = vim.lsp.get_active_clients { name = server_name } + local clients = vim.lsp.get_clients { name = server_name } local client = clients[1] or nil local new_instance = false @@ -118,7 +118,7 @@ end ---@param server_name string ---@return integer|nil lsp.get_lsp_buffer = function(server_name) - local clients = vim.lsp.get_active_clients { name = server_name } + local clients = vim.lsp.get_clients { name = server_name } if #clients == 0 then return nil end |