nvim-treesitter-textobjects
nvim-treesitter-textobjects copied to clipboard
I am wondering if it is possible to somehow map both @function.outer & @class.outer to 'gp' keymap and peeking each one regarding cursor's position
**Describe the bug** Deleting a scala function using `function.outer` text object in some cases deletes also the next function, while using the same text-object to select code always highlights correctly...
**Describe the bug** plugins have no effect **To Reproduce** system: macos neovim version: 0.8.3 nvim-treesitter version: 4cccb6f nvim-treesitter-textobjects: 380561e **Expected behavior** A clear and concise description of what you expected...
Comes from : What is the text object to select node like nvim-treesitter's original `gnn`? And how to increment/decrement the selected region?
**Describe the bug** When I use `dia` or `daa` (my configured commands to delete inner parameter and outer parameter respectively), after undoing those commands with `u`, I cannot use `ia`...
**Describe the bug** I have this code and with the cursor on the `b` in `abc` I execute the function:  This is what is selected:  **Expected behavior** I...
I'm hoping to write a macro that involves jumping to a second argument of a function call and deleting it. The function arguments will sometimes include nested function calls, sometimes...
**Describe the bug** When I open a `zig` file with this extension enabled it takes 3 seconds on my machine to start it **To Reproduce** I made a minimal config...
**Describe the bug** The `textobjects` don't work properly with `set selection=exclusive`. **To Reproduce** I have setup the following keymaps: ``` textobjects = { select = { enable = true, lookahead...
Is there a way to automatically determine whether the current context is a function or a class, and then set the same shortcut key to jump? There will be problems...