Jaehwang Jung
Jaehwang Jung
With the additional argument checks, I noticed a regression from #28417 and fixed it. cc @lewis6991
see also: `:h simplify()`
> Ideally the grammars should be rewritten so they don't create nested structures for if-else statements. Filed an issue there. https://github.com/tree-sitter/tree-sitter-c/issues/198. note: other languages (e.g., rust) have similar issue.
> Can't we expose the number instead by, e.g., having `#has-ancestor? @foo 15` (with some default which is then not as important)? Bonus points: deprecate `#has-parent? @foo` in favor of...
I'm not against per-directive limits, and I'm happy to implement that.
Oh, sorry for confusion. I haven't worked on it yet, and the force push was just for resolving the conflicts. But I think we haven't reached consensus on whether there...
Closing, since (1) the other solution is much nicer, (2) the linear factor on the depth of the node is not avoidable, and (3) this factor can be bounded by...
Thanks a lot for working on this. Not sure if this is the right place, but here are some minor issues I encountered * insufficient emphasis (even the `quiet` built-in...
> Partially run the query for rendered lines. This would require separate queries for non-combined injection and combined injection (or some other significant API changes). Combined injection query should be...
> Partially run the query for rendered lines. Another issue with this is that it's difficult to make injected region parsing incremental. This requires some sort of persistent ID for...