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 = false to only show the signature, and not the documentation.

Keymap

See the keymap documentation for a full list of commands. By default, the scroll_signature_up and scroll_signature_down 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' },

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