mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 21:37:43 +00:00
feat(lsp)!: change handler signature #15504
This commit is contained in:
committed by
Justin M. Keyes
parent
f8e0011534
commit
cd8f6c5fb7
@@ -32,7 +32,7 @@ describe('vim.lsp.codelens', function()
|
||||
command = { title = 'Lens1', command = 'Dummy' }
|
||||
},
|
||||
}
|
||||
vim.lsp.codelens.on_codelens(nil, 'textDocument/codeLens', lenses, 1, bufnr)
|
||||
vim.lsp.codelens.on_codelens(nil, lenses, {method='textDocument/codeLens', client_id=1, bufnr=bufnr})
|
||||
]], bufnr)
|
||||
|
||||
local stored_lenses = exec_lua('return vim.lsp.codelens.get(...)', bufnr)
|
||||
|
||||
Reference in New Issue
Block a user