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:
parent
571d0386e2
commit
d7a78e14ac
8 changed files with 114 additions and 40 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue