aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/extras/utils.lua
blob: c032b5ac84f24a81d1d583dd196858de6f9b9844 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
local M = {}

-- @deprecated
function M.send_client_request(client_name, ...)
    for _, client in pairs(vim.lsp.get_active_clients()) do
        if client.name == client_name then
            client.request(...)
        end
    end
end

return M