Stephan Seitz
Stephan Seitz
I think this sound reasonable. Which language are you using? Could you create a PR that is fixing the queries to do this?
I could imagine the query for inner calls would look similar to https://github.com/theHamsta/nvim-treesitter-textobjects/blob/4e730ebe45f96e73f810567dc876fc934476f3d3/queries/fennel/textobjects.scm#L27-L31 with `"(" . (_) @_start (_) @_end ")"` in the middle.
Maybe you would like this plugin: https://github.com/RRethy/nvim-treesitter-textsubjects It could also be added as `(_) @node` to https://github.com/nvim-treesitter/nvim-treesitter-textobjects/ which would work on every language. I would like to move this issue...
This was probably a mistake. We would be happy to receive a PR!
The reason why I haven't implemented this is that we don't have a convincing story for feature detection with injected languages. It's easy to detect the available textobjects for the...
@andymass can you create a PR for it? I can't think of a elegant way to implement this. As far as I understood, we must set operatorfunc. But we can't...
Duplicate of #116 ? You can test my PR, if you want https://github.com/tree-sitter/tree-sitter-python/pull/140. Just change then SHA in nvim-treesitter/lockfile.json to the SHA of the branch in the PR and run...
This is a upstream problem https://github.com/neovim/neovim/pull/17099
I personally use https://github.com/theHamsta/crazy-node-movement . It should work when you are on the sibling or you want to move up or down the node hierarchy
@fenuks it's just my personal config. It we tried to have something like this in nvim-treesitter but it's just to confusing. But maybe one can borrow some of the logic