nvim_runtime_lua

lsp.SignatureInformation

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

@since 3.16.0

Fields4

SignatureInformation.label : string

The label of this signature. Will be shown in the UI.

SignatureInformation.documentation : string | lsp.MarkupContent | nil

The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

SignatureInformation.parameters : lsp.ParameterInformation[] | nil

The parameters of this signature.

SignatureInformation.activeParameter : uinteger | lsp.null | nil