mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00

When parsing with a range, languagetree looks up injections and adds them if needed. This explicitly invalidates parser, making `is_valid` report `false` both when including and excluding children. This is an attempt to describe desired behaviour of `is_valid` in tests, with what ended up being a single line change to satisfy them.