feat: do not show git blame on modified lines
This commit is contained in:
parent
674c1b0a83
commit
705c9b2727
1 changed files with 1 additions and 1 deletions
|
|
@ -1508,7 +1508,7 @@ pub const Editor = struct {
|
|||
if (change.line > row)
|
||||
break;
|
||||
|
||||
if (change.kind == .insert)
|
||||
if (change.kind == .insert or change.kind == .modify)
|
||||
if (row >= change.line and row < change.line + change.lines)
|
||||
return null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue