diff options
author | Gokul Soumya | 2022-02-01 13:43:41 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-01 01:32:50 +0000 |
commit | e6c36e82cf0a5d609e22bb1d9ee267de8854007b (patch) | |
tree | bc259b2fc91ddd5cf0deeb7f40e491cada5fb8f1 /flake.nix | |
parent | 78d37fd332ab98e867b8e74f08c4cf45295c167a (diff) |
Allow capturing multiple nodes in textobject queries
Treesitter captures can contain multiple nodes like so:
```
(line_comment)+ @comment
```
This would match each line in a comment as a separate
`@comment` capture when what we actually want is the
whole set of contiguous `line_comment` nodes to be
captured under the `@comment` capture. This commit enables
this behaviour.
Diffstat (limited to 'flake.nix')
0 files changed, 0 insertions, 0 deletions