mirror of
https://github.com/tiyn/action-hints.nvim.git
synced 2025-11-13 13:59:45 +01:00
fixed deprecated call
This commit is contained in:
@@ -40,7 +40,7 @@ local function debounce(func, delay)
|
|||||||
end
|
end
|
||||||
|
|
||||||
M.supports_method = function(method)
|
M.supports_method = function(method)
|
||||||
local clients = vim.lsp.buf_get_clients()
|
local clients = vim.lsp.get_clients()
|
||||||
for _, client in pairs(clients) do
|
for _, client in pairs(clients) do
|
||||||
if client.server_capabilities[method] then
|
if client.server_capabilities[method] then
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user