Initial hacky displaying of git gutter in multi-buffers

This commit is contained in:
Julia 2022-12-09 15:24:13 -05:00
parent 461c2400ad
commit 00b7c78e33
4 changed files with 76 additions and 13 deletions

View file

@ -2312,11 +2312,10 @@ impl BufferSnapshot {
pub fn git_diff_hunks_in_range<'a>(
&'a self,
query_row_range: Range<u32>,
range: Range<Anchor>,
reversed: bool,
) -> impl 'a + Iterator<Item = git::diff::DiffHunk<u32>> {
self.git_diff
.hunks_in_range(query_row_range, self, reversed)
self.git_diff.hunks_in_range(range, self, reversed)
}
pub fn diagnostics_in_range<'a, T, O>(