mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
batdiff: Fix use of deprecated --hunk-style
Delta has deprecated --hunk-style in favor of its synonym --hunk-header-decoration-style. See https://github.com/dandavison/delta/releases/tag/0.12.0
This commit is contained in:
parent
69792e95da
commit
462df32d4c
@ -77,7 +77,7 @@ done
|
||||
|
||||
# Append arguments for delta/bat.
|
||||
BAT_ARGS+=("--terminal-width=${OPT_TERMINAL_WIDTH}" "--paging=never")
|
||||
DELTA_ARGS+=("--width=${OPT_TERMINAL_WIDTH}" "--paging=never" "--hunk-style=plain")
|
||||
DELTA_ARGS+=("--width=${OPT_TERMINAL_WIDTH}" "--paging=never" "--hunk-header-decoration-style=plain")
|
||||
|
||||
if "$OPT_COLOR"; then
|
||||
BAT_ARGS+=("--color=always")
|
||||
|
Loading…
Reference in New Issue
Block a user