Update git gutter status after debounced delay
Co-authored-by: Max Brunsfeld <max@zed.com>
This commit is contained in:
parent
5157c71fa9
commit
883d5b7a08
5 changed files with 60 additions and 9 deletions
|
@ -481,9 +481,12 @@ impl Item for Editor {
|
|||
fn update_git(
|
||||
&mut self,
|
||||
_project: ModelHandle<Project>,
|
||||
_cx: &mut ViewContext<Self>,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> Task<Result<()>> {
|
||||
println!("Editor::update_git");
|
||||
self.buffer().update(cx, |multibuffer, cx| {
|
||||
multibuffer.update_git(cx);
|
||||
});
|
||||
cx.notify();
|
||||
Task::ready(Ok(()))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue