lsp-commands.nvim

November 21, 2024 ยท View on GitHub

More neovim plugins

Usage

Register lsp commands, then pick and run them.

---@param filter (fun(name): boolean) | nil
---@param silent boolean | nil
function M.run_command(filter, silent) end

---@param command lsp-commands.Command
function M.register_command(command) end

---@class lsp-commands.Command
---@field name string
---@field run fun()
---@field is_enabled (fun(): boolean) | nil