rust/crates/rust-analyzer
Michał Muskała 528a0bcf9b Avoid transmitting unchanged diagnostics
Reading through the code for diagnostics and observing debug logs, I noticed
that diagnostics are transmitted after every change for every opened file,
even if they haven't changed (especially visible for files with no diagnostics).

This change avoids marking files as "changed" if diagnostics are the same to what
was already sent before. This will only work if diagnostics are always produced in
the same order, but from my limited testing it seems this is the case.
2021-02-17 12:45:17 +01:00
..
src Avoid transmitting unchanged diagnostics 2021-02-17 12:45:17 +01:00
tests/rust-analyzer Simplify heavy tests 2021-01-28 19:15:49 +03:00
build.rs Fix fmt 2020-06-19 02:25:07 +08:00
Cargo.toml Bump lsp-types 2021-02-16 09:21:07 -05:00