mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +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
|
if lens.command then
|
||||||
countdown()
|
countdown()
|
||||||
else
|
else
|
||||||
client.request('codeLens/resolve', lens, function(_, _, result)
|
client.request('codeLens/resolve', lens, function(_, result)
|
||||||
if result and result.command then
|
if result and result.command then
|
||||||
lens.command = result.command
|
lens.command = result.command
|
||||||
-- Eager display to have some sort of incremental feedback
|
-- Eager display to have some sort of incremental feedback
|
||||||
|
|||||||
Reference in New Issue
Block a user