* src/treesit.c: Match against NODE at start of the loop.
(while node (setq node (treesit-search-forward node)))
*/
+ bool initial = true;
while (true)
{
+ if (!initial /* We don't match START. */
+ && treesit_traverse_match_predicate (node, pred, parser))
+ {
+ *start = node;
+ return true;
+ }
+ initial = false;
+
TSNode next = treesit_traverse_sibling_helper (node, forward, named);
while (ts_node_is_null (next))
{