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:

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

Type: string

Example: "@class.inner"

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

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

Type: null or string

Default: null