vim.lsp.buf.execute_command is deprececated in favor of clint:exec_cmd

The vim.lsp.buf.execute_command is used to execute a command on the LSP server for a specific buffer. Neovim will deprecate (see :checkhealt vim.deprecated ) vim.lsp.buf.execute_command in favor of clint:exec_cmd in the future. For example to the typescript organizeImport should be changed from: local function on_ts_ls_attach(client, bufnr) vim.keymap.set("n", "<leader>o", "<cmd>lua…