Skip to content

Commit 8bcbb63

Browse files
Use the function color from the config (addresses #290)
1 parent 043bddb commit 8bcbb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-so-fancy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ sub color {
809809
# Default ANSI red
810810
$ret = DiffHighlight::color_config('color.diff.old', color('bold') . color(1));
811811
} elsif ($str eq "last_function") {
812-
$ret = color(146);
812+
$ret = DiffHighlight::color_config('color.diff.func', color(146));
813813
}
814814

815815
# Cache (memoize) the entry for later

0 commit comments

Comments
 (0)