mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 02:17:09 +10:00
fix(lsp): fix incorrect params because of typo (#36871)
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user