plugins.treesitter-textobjects.lspInterop.peekDefinitionCode

Show textobject surrounding definition as determined using Neovim’s built-in LSP in a floating window. Press the shortcut twice to enter the floating window (when https://github.com/neovim/neovim/pull/12720 or its successor is merged).

Type: null or (attribute set of (string or (submodule) or raw lua code))

Default: null

Plugin default: { }

Declared by:

plugins.treesitter-textobjects.lspInterop.peekDefinitionCode.<name>.desc

You can optionally set descriptions to the mappings (used in the desc parameter of nvim_buf_set_keymap) which plugins like which-key display.

Type: null or string

Default: null

plugins.treesitter-textobjects.lspInterop.peekDefinitionCode.<name>.query

Type: string

Example: "@class.inner"

plugins.treesitter-textobjects.lspInterop.peekDefinitionCode.<name>.queryGroup

You can also use captures from other query groups like locals.scm

Type: null or string

Default: null