plugins.treesitter-textobjects.select.keymaps
Map of keymaps to a tree-sitter query ((function_definition) @function
) or capture
group (@function.inner
).
Type: null or (attribute set of (string or (submodule) or raw lua code))
Default:
null
Plugin default: { }
Declared by:
plugins.treesitter-textobjects.select.keymaps.<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.select.keymaps.<name>.query
Type: string
Example:
"@class.inner"
plugins.treesitter-textobjects.select.keymaps.<name>.queryGroup
You can also use captures from other query groups like locals.scm
Type: null or string
Default:
null