plugins.treesitter-textobjects.swap.swapNext

Map of keymaps to a list of tree-sitter capture groups ({@parameter.inner}). Capture groups that come earlier in the list are preferred.

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

Default: null

Plugin default: { }

Declared by:

plugins.treesitter-textobjects.swap.swapNext.<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.swap.swapNext.<name>.query

Type: string

Example: "@class.inner"

plugins.treesitter-textobjects.swap.swapNext.<name>.queryGroup

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

Type: null or string

Default: null