Avoid refreshing diagnostics for language servers that didn't update

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio Scandurra
2022-06-07 19:05:06 +02:00
co-authored by Max Brunsfeld
parent 96cdf3b9dd
commit bbfa6580a4
6 changed files with 135 additions and 73 deletions
+3 -2
View File
@@ -516,8 +516,9 @@ message UpdateDiagnosticSummary {
message DiagnosticSummary {
string path = 1;
uint32 error_count = 2;
uint32 warning_count = 3;
uint64 language_server_id = 2;
uint32 error_count = 3;
uint32 warning_count = 4;
}
message UpdateLanguageServer {
+1 -1
View File
@@ -6,4 +6,4 @@ pub use conn::Connection;
pub use peer::*;
mod macros;
pub const PROTOCOL_VERSION: u32 = 22;
pub const PROTOCOL_VERSION: u32 = 23;