refactor(lsp): use vim.lsp.buf_request_all internally (#34604)

This commit is contained in:
Maria José Solano
2025-06-23 10:15:25 -07:00
committed by GitHub
parent 6942dec9b2
commit 40c61bf205
3 changed files with 129 additions and 162 deletions

View File

@@ -430,6 +430,8 @@ function M._convert_results(
return matches, server_start_boundary
end
-- NOTE: The reason we don't use `lsp.buf_request_all` here is because we want to filter the clients
-- that received the request based on the trigger characters.
--- @param clients table<integer, vim.lsp.Client> # keys != client_id
--- @param bufnr integer
--- @param win integer