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/completion.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/completion.lua')
-rw-r--r-- | runtime/lua/vim/lsp/completion.lua | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/runtime/lua/vim/lsp/completion.lua b/runtime/lua/vim/lsp/completion.lua index 3df506d23a..e36d329dc5 100644 --- a/runtime/lua/vim/lsp/completion.lua +++ b/runtime/lua/vim/lsp/completion.lua @@ -548,15 +548,7 @@ local function on_complete_done() local command = completion_item.command if command then - client:_exec_cmd(command, { bufnr = bufnr }, nil, function() - vim.lsp.log.warn( - string.format( - 'Language server `%s` does not support command `%s`. This command may require a client extension.', - client.name, - command.command - ) - ) - end) + client:exec_cmd(command, { bufnr = bufnr }) end end |