Brilliant, that fixed it! Thank you so much. I’ll write some tests in my language package to be certain I’m not missing any cases. Is there a way to unit test the final tree when using parseMixed with overlays? Like this lezer-parser/html mixed test but for overlay nesting as opposed to hierarchical nesting?
Shoot, the lezer update addressed that simple overlay case but causes big issues (missing highlighting and browser crashing) for other overlay cases. I’ve updated lang-twig with examples and a failing test to show what I mean.