Skip to content

multi_client_request failed to skip unsupported method #100

@guangxu-li

Description

@guangxu-li
function M.multi_client_request(clients, method, params, handler, bufnr)
    for _, client in ipairs(clients) do
        if not client.supports_method(method) then
            goto continue
        end
        client.request(method, params, handler, bufnr)
        ::continue::
    end
end

ldelossa/litee-calltree.nvim#16 (comment)
In the above litee-calltree issue ticket, it seems that the function failed to skip unsupported LSP request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions