Skip to content

Signature Go to default configuration ​

INFO

This feature is experimental, contributions welcome!

Blink supports signature help by manually pressing <C-k> (by default) or automatically triggered when typing trigger characters, defined by the LSP, such as ( for lua. The menu will be updated when pressing a retrigger character, such as ,. Due to it being experimental, this feature is opt-in.

lua
signature = { enabled = true }

You may want to set signature.window.show_documentation = true to show the documentation in addition to the signature.

Keymap ​

See the keymap documentation for a full list of commands. By default, the scroll_signature_up, scroll_signature_down, show_signature_documentation and hide_signature_documentation commands are not bound to any keys. You may bind them like so:

lua
keymap = {
  ['<C-u>'] = { 'scroll_signature_up', 'fallback' },
  ['<C-d>'] = { 'scroll_signature_down', 'fallback' },
  -- toggle the documentation in the signature help window
  ['<M-k>'] = { 'show_signature_documentation', 'hide_signature_documentation', 'fallback' },

  -- default in all keymap presets
  ['<C-k>'] = { 'show_signature', 'hide_signature', 'fallback' },
}