From ac72c23c2e901084e0c08a743942d8d7b8c560de Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 29 Mar 2025 05:25:06 +0100 Subject: [PATCH] fixed deprecated call --- lua/action-hints/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/action-hints/init.lua b/lua/action-hints/init.lua index a33afaf..33df43a 100644 --- a/lua/action-hints/init.lua +++ b/lua/action-hints/init.lua @@ -40,7 +40,7 @@ local function debounce(func, delay) end M.supports_method = function(method) - local clients = vim.lsp.buf_get_clients() + local clients = vim.lsp.get_clients() for _, client in pairs(clients) do if client.server_capabilities[method] then return true