made git diff rendering respect line wrap
This commit is contained in:
parent
7f84abaf13
commit
5769cdc354
5 changed files with 185 additions and 95 deletions
|
@ -6,7 +6,7 @@ use text::{Anchor, BufferSnapshot, OffsetRangeExt, Point};
|
|||
pub use git2 as libgit;
|
||||
use libgit::{DiffLineType as GitDiffLineType, DiffOptions as GitOptions, Patch as GitPatch};
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum DiffHunkStatus {
|
||||
Added,
|
||||
Modified,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue