nvim_runtime_lua

lsp.SignatureHelpContext

Additional information about the context in which a signature help request was triggered.

Fields4

SignatureHelpContext.triggerKind : lsp.SignatureHelpTriggerKind

Action that caused signature help to be triggered.

SignatureHelpContext.triggerCharacter : nil | string

Character that caused signature help to be triggered.

This is undefined when triggerKind !== SignatureHelpTriggerKind.TriggerCharacter

SignatureHelpContext.isRetrigger : boolean

true if signature help was already showing when it was triggered.

Retriggers occurs when the signature help is already active and can be caused by actions such as typing a trigger character, a cursor move, or document content changes.

SignatureHelpContext.activeSignatureHelp : lsp.SignatureHelp | nil

The currently active SignatureHelp.

The activeSignatureHelp has its SignatureHelp.activeSignature field updated based on the user navigating through available signatures.