-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add an --apply-all-captures
argument to highlight & test
#2412
Conversation
5e53153
to
aafd94c
Compare
bb82d49
to
ae5ef77
Compare
ae5ef77
to
82426fd
Compare
A couple notes: Queries by default are still used from either the one specified in package.json or tree-sitter-LANG/queries, this makes it hard for downstream to specify their own queries - I can add another flag for this if that'd be ok I made the convention style for custom files simple, newline separated strings, but comments are allowed starting with |
82426fd
to
acab53c
Compare
@patrickt @dcreager (or matter of fact anyone on @tree-sitter/semantic-code), it'd be nice to get some thoughts on the linked issue, Max's words, and this PR. Currently this PR is not a breaking change but a followup one to make last-wins precedence the default would be, as Max and I (and others) agree that it's definitely much better to work with than short-circuiting. |
a97bfb5
to
7ee9314
Compare
7ee9314
to
9cc508e
Compare
9cc508e
to
ce4a9ef
Compare
Related to #2396