Skip to content

Commit

Permalink
Add a --rulerWidth option
Browse files Browse the repository at this point in the history
  • Loading branch information
scottchiefbaker committed Aug 20, 2024
1 parent 39cd6a1 commit 0965029
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diff-so-fancy
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ my $columns_to_remove = 0;
my $is_mercurial = 0;
my $color_forced = 0; # Has the color been forced on/off

if ($args->{rulerWidth}) {
$ruler_width = int($args->{rulerWidth});
}

# We try and be smart about whether we need to do line coloring, but
# this is an option to force it on/off
if ($args->{color_on}) {
Expand Down

0 comments on commit 0965029

Please sign in to comment.