Merge remote-tracking branch 'maximbaz/git-gutter-further-improvements'
This commit is contained in:
commit
c40ab126d6
|
@ -97,7 +97,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
|
||||||
}
|
}
|
||||||
|
|
||||||
update_diff() {
|
update_diff() {
|
||||||
git --no-pager diff -U0 "$kak_buffile" 2>/dev/null | perl -e '
|
git --no-pager diff -U0 "$kak_buffile" | perl -e '
|
||||||
$flags = $ENV{"kak_timestamp"};
|
$flags = $ENV{"kak_timestamp"};
|
||||||
foreach $line (<STDIN>) {
|
foreach $line (<STDIN>) {
|
||||||
if ($line =~ /@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))?/) {
|
if ($line =~ /@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))?/) {
|
||||||
|
@ -141,7 +141,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
|
||||||
$flags .= ":$line|\{blue\}~";
|
$flags .= ":$line|\{blue\}~";
|
||||||
}
|
}
|
||||||
$last = $to_line + $to_count - 1;
|
$last = $to_line + $to_count - 1;
|
||||||
$flags .= ":$last|\{blue\}~_";
|
$flags .= ":$last|\{blue+u\}~";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user