mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
8988c1ecc7
Applying document-change transactions to diagnostic ranges is not stable with respect to the ordering of diagnostics. This can cause diagnostics to become temporarily unordered with some edits to a document, which can eventually break some invariants/assumptions in syntax::merge. With this change, Document::diagnostics are always sorted. |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |