language: Remove buffer fingerprinting (#9007)

Followup to #9005 that actually removes buffer fingerprinting.

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-03-21 17:03:26 +01:00 committed by GitHub
parent 1f21088591
commit 6f2f61c9b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 22 additions and 122 deletions

View file

@ -3118,12 +3118,7 @@ async fn test_buffer_is_dirty(cx: &mut gpui::TestAppContext) {
&[language::Event::Edited, language::Event::DirtyChanged]
);
events.lock().clear();
buffer.did_save(
buffer.version(),
buffer.as_rope().fingerprint(),
buffer.file().unwrap().mtime(),
cx,
);
buffer.did_save(buffer.version(), buffer.file().unwrap().mtime(), cx);
});
// after saving, the buffer is not dirty, and emits a saved event.