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.

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.treesitter-textobjects.swap.disable

List of languages to disable this module for.

Plugin default: []

Type: null or (list of string)

Default: null

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.

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by:

plugins.treesitter-textobjects.swap.swapPrevious

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

Plugin default: {}

Type: null or (attribute set of (string or (submodule)))

Default: null

Declared by: