fix(lsp): adapt codelens resolve to handler signature change (#15578)

Follow up to https://github.com/neovim/neovim/pull/15504
This commit is contained in:
Mathias Fußenegger
2021-09-06 17:30:53 +02:00
committed by GitHub
parent 3f526feebf
commit 687a0b3d3e

View File

@ -174,7 +174,7 @@ local function resolve_lenses(lenses, bufnr, client_id, callback)
if lens.command then
countdown()
else
client.request('codeLens/resolve', lens, function(_, _, result)
client.request('codeLens/resolve', lens, function(_, result)
if result and result.command then
lens.command = result.command
-- Eager display to have some sort of incremental feedback