mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
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:
committed by
GitHub
parent
3f526feebf
commit
687a0b3d3e
@ -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
|
||||
|
Reference in New Issue
Block a user