[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question on getting tree-sitter matches
From: |
Abin Simon |
Subject: |
Re: Question on getting tree-sitter matches |
Date: |
Wed, 15 Mar 2023 09:54:25 +0530 |
> I see. We can add an optional argument to treesit-query-capture to toggle the
> “grouping” of matches, WDYT?
That would work for my current usecase.
With that said, I would like to point out that elisp-tree-sitter has two
methods with one named captures returning a list of captures and one
named matches which returns the "grouped" captures(along with pattern
index). I'm not sure if these names have any semantic meaning. From a
quick scan of Neovim docs, they too seem to have two functions with
similar names.
- Question on getting tree-sitter matches, Abin Simon, 2023/03/12
- Re: Question on getting tree-sitter matches, Yuan Fu, 2023/03/12
- Re: Question on getting tree-sitter matches, Abin Simon, 2023/03/13
- Re: Question on getting tree-sitter matches, Yuan Fu, 2023/03/14
- Re: Question on getting tree-sitter matches,
Abin Simon <=
- Re: Question on getting tree-sitter matches, Yuan Fu, 2023/03/19
- Re: Question on getting tree-sitter matches, Abin Simon, 2023/03/20
- Re: Question on getting tree-sitter matches, Ergus, 2023/03/20
- Re: Question on getting tree-sitter matches, Yuan Fu, 2023/03/20
- Re: Question on getting tree-sitter matches, Eli Zaretskii, 2023/03/20