fix(lsp): fix incorrect params because of typo (#36871)

This commit is contained in:
Pig Fang authored and GitHub committed 2025-12-08 22:39:31 -08:00
1 parent ed9abb1851
commit 23f4fab0bd
1 file changed
+1 -1
+1 -1
View File
@@ -539,7 +539,7 @@ function M._workspace_diagnostics(opts)
for _, client in ipairs(clients) do
--- @type lsp.WorkspaceDiagnosticParams
local params = {
identifier = vim.tbl_get(client, 'server_capabilities, diagnosticProvider', 'identifier'),
identifier = vim.tbl_get(client, 'server_capabilities', 'diagnosticProvider', 'identifier'),
previousResultIds = previous_result_ids(client.id),
}