Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

treesitter-textobjects

URL: https://github.com/nvim-treesitter/nvim-treesitter-textobjects/

Maintainers: Gaetan Lepage

plugins.treesitter-textobjects.enable

Whether to enable treesitter-textobjects.

Type: boolean

Default: false

Example: true

Declared by:

plugins.treesitter-textobjects.package

The treesitter-textobjects package to use.

Type: package

Default: pkgs.vimPlugins.nvim-treesitter-textobjects

Declared by:

plugins.treesitter-textobjects.autoLoad

Whether to automatically load treesitter-textobjects when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.treesitter-textobjects.settings

Options provided to plugins.treesitter.settings.textobjects.

Type: lua value

Default: { }

Example:

{
  enable = true;
  keymaps = {
    ab = "@block.outer";
    ac = "@call.outer";
    ib = "@block.inner";
    ic = "@call.inner";
  };
  lookahead = true;
}

Declared by: