Merge pull request #1983 from zed-industries/multi-buffer-git-gutter
Multi buffer git gutter
This commit is contained in:
commit
de9c58d216
8 changed files with 302 additions and 27 deletions
|
@ -575,6 +575,15 @@ impl Item for ProjectDiagnosticsEditor {
|
|||
unreachable!()
|
||||
}
|
||||
|
||||
fn git_diff_recalc(
|
||||
&mut self,
|
||||
project: ModelHandle<Project>,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> Task<Result<()>> {
|
||||
self.editor
|
||||
.update(cx, |editor, cx| editor.git_diff_recalc(project, cx))
|
||||
}
|
||||
|
||||
fn to_item_events(event: &Self::Event) -> Vec<ItemEvent> {
|
||||
Editor::to_item_events(event)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue