aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2021-09-06 17:30:53 +0200
committerJustin M. Keyes <justinkz@gmail.com>2021-09-26 10:25:17 -0700
commitd26d489e2e5986c8201af8e3e1e8b860adb57afc (patch)
treeda2d93206b5b532a14afb60263c743b14f923fb9
parenta6eab6e25e57c10baabc4c061fe6a9339614c8f4 (diff)
downloadrneovim-d26d489e2e5986c8201af8e3e1e8b860adb57afc.tar.gz
rneovim-d26d489e2e5986c8201af8e3e1e8b860adb57afc.tar.bz2
rneovim-d26d489e2e5986c8201af8e3e1e8b860adb57afc.zip
fix(lsp): adapt codelens resolve to handler signature change (#15578)
Follow up to https://github.com/neovim/neovim/pull/15504
-rw-r--r--runtime/lua/vim/lsp/codelens.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/codelens.lua b/runtime/lua/vim/lsp/codelens.lua
index 6655a0ada0..e9c86a658d 100644
--- a/runtime/lua/vim/lsp/codelens.lua
+++ b/runtime/lua/vim/lsp/codelens.lua
@@ -169,7 +169,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