lsp.Command
Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.
@since 3.18.0
Fields4
Command.title : string
Title of the command, like save.
Command.tooltip : nil | string
Command.command : string
The identifier of the actual command handler.
Command.arguments : lsp.LSPAny[] | nil
Arguments that the command handler should be invoked with.