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

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