nvim lsp has vim.lsp.buf.execute_command
api.
But how to find avaiable lsp commands?
Run :help lsp-buf
.
Sorry, This arrical is not I want.
What I want is some commands like “CocCommand” params.
For CocCommand, you could use <tab>
key to complete for lsp commands.
Do the same thing… Type :lua vim.lsp.buf.
then press <Tab>
.