nvim_runtime_lua

lsp.CodeActionKindDocumentation

Documentation for a class of code actions.

Fields2

CodeActionKindDocumentation.kind : lsp.CodeActionKind

The kind of the code action being documented.

If the kind is generic, such as CodeActionKind.Refactor, the documentation will be shown whenever any refactorings are returned. If the kind if more specific, such as CodeActionKind.RefactorExtract, the documentation will only be shown when extract refactoring code actions are returned.

CodeActionKindDocumentation.command : lsp.Command

Command that is ued to display the documentation to the user.

The title of this documentation code action is taken from {@linkcode Command.title}