mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +00:00
In some YAML files over about a kilobyte, a mapping that follows comment lines lost its highlighting from the second comment to the end of the mapping. The YAML parser (@lezer/yaml with @lezer/lr) can give that mapping node an inverted range when it falls on a tree buffer boundary (1024 entries by default), and highlighting skips the whole node. The YAML mode now parses into buffers of 65536 entries, so ordinary YAML files stay in one buffer and never hit the boundary. Refs #809