Skip to content

Commit

Permalink
gh-fzf: fix delta diff width in events view
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsk committed Jan 14, 2025
1 parent 0132448 commit dcef740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bin/gh-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export -f toggle-grep-passthrough

function deltadiff {
# Manually override pager to prevent --quit-if-one-screen on short diffs.
delta --pager="less -R"
delta --pager="less -R" --width="$FZF_PREVIEW_COLUMNS"
}

export -f deltadiff
Expand Down

0 comments on commit dcef740

Please sign in to comment.