Update snapshot atomically when processing FS events
This commit is contained in:
parent
0ff39f1280
commit
8291b8108d
3 changed files with 79 additions and 70 deletions
|
@ -5282,6 +5282,7 @@ mod tests {
|
|||
language_id: Default::default()
|
||||
},
|
||||
);
|
||||
|
||||
// We clear the diagnostics, since the language has changed.
|
||||
rust_buffer2.read_with(cx, |buffer, _| {
|
||||
assert_eq!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue