plugins.treesitter-textobjects.swap.enable

Swap text objects:

Define your own mappings to swap the node under the cursor with the next or previous one, like function parameters or arguments.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.treesitter-textobjects.swap.disable

List of languages to disable this module for.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default: [ ]

Declared by:

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.swapPrevious

Same as swapNext, but it will swap with the previous text object.

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

Default: null

Plugin default: { }

Declared by: