diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-10-24 12:11:27 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-10-24 15:37:34 +0100 |
commit | 7a7747f1e4d96aab53ff9c52d0c3492308c22c58 (patch) | |
tree | 9818d40a7d1df837d6d8567ed521a0f53ca22c42 /runtime/lua/vim/lsp/codelens.lua | |
parent | 39d79efa1e1e1e5c3476dee54cc2bc4abc725a8f (diff) | |
download | rneovim-7a7747f1e4d96aab53ff9c52d0c3492308c22c58.tar.gz rneovim-7a7747f1e4d96aab53ff9c52d0c3492308c22c58.tar.bz2 rneovim-7a7747f1e4d96aab53ff9c52d0c3492308c22c58.zip |
feat(lsp): deprecate execute_command with client:exec_cmd
Diffstat (limited to 'runtime/lua/vim/lsp/codelens.lua')
-rw-r--r-- | runtime/lua/vim/lsp/codelens.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/codelens.lua b/runtime/lua/vim/lsp/codelens.lua index c1b6bfb28c..d8c6c27a98 100644 --- a/runtime/lua/vim/lsp/codelens.lua +++ b/runtime/lua/vim/lsp/codelens.lua @@ -48,7 +48,7 @@ local function execute_lens(lens, bufnr, client_id) local client = vim.lsp.get_client_by_id(client_id) assert(client, 'Client is required to execute lens, client_id=' .. client_id) - client:_exec_cmd(lens.command, { bufnr = bufnr }, function(...) + client:exec_cmd(lens.command, { bufnr = bufnr }, function(...) vim.lsp.handlers[ms.workspace_executeCommand](...) M.refresh() end) |