diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-09-05 10:27:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 10:27:52 -0700 |
commit | 23fe6dba138859c1c22850b9ce76219141f546a0 (patch) | |
tree | 297bca80ff0ad1f442d6a4f36db88c5509c455e0 /test/functional/plugin/lsp/codelens_spec.lua | |
parent | 7a0468e7addc8745d82abdfb62d25714f38dae8f (diff) | |
parent | f7dabbc115296d7d821985fb77d63a2958d48be3 (diff) | |
download | rneovim-23fe6dba138859c1c22850b9ce76219141f546a0.tar.gz rneovim-23fe6dba138859c1c22850b9ce76219141f546a0.tar.bz2 rneovim-23fe6dba138859c1c22850b9ce76219141f546a0.zip |
Merge pull request #15504 from mjlbach/feat/change-handler-signature
feat(lsp)!: change handler signature
Diffstat (limited to 'test/functional/plugin/lsp/codelens_spec.lua')
-rw-r--r-- | test/functional/plugin/lsp/codelens_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/lsp/codelens_spec.lua b/test/functional/plugin/lsp/codelens_spec.lua index 2dc9b8f960..e48a0ad260 100644 --- a/test/functional/plugin/lsp/codelens_spec.lua +++ b/test/functional/plugin/lsp/codelens_spec.lua @@ -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) |