Allow disk-based diagnostic progress begin/end events to interleave
When multiple saves occur, we can have multiple start events followed by multiple end events. We don't want to update our project diagnostics view until all pending progress is finished. Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
co-authored by
Antonio Scandurra
parent
571d0386e2
commit
d7a78e14ac
@@ -237,6 +237,7 @@ impl LanguageServerConfig {
|
||||
(
|
||||
Self {
|
||||
fake_server: Some((server, started)),
|
||||
disk_based_diagnostics_progress_token: Some("fakeServer/check".to_string()),
|
||||
..Default::default()
|
||||
},
|
||||
fake,
|
||||
|
||||
Reference in New Issue
Block a user