feat(pp): update delta diff

This commit is contained in:
Ade Attwood 2023-02-09 20:22:40 +00:00
parent 841e8f99bb
commit d1fe1f3c87
2 changed files with 4 additions and 3 deletions

View file

@ -4,16 +4,16 @@
class core::delta {
archive { 'delta':
path => '/tmp/delta.tar.gz',
source => 'https://github.com/dandavison/delta/releases/download/0.13.0/delta-0.13.0-x86_64-unknown-linux-gnu.tar.gz',
source => 'https://github.com/dandavison/delta/releases/download/0.15.1/delta-0.15.1-x86_64-unknown-linux-gnu.tar.gz',
extract => true,
extract_path => "/tmp",
checksum_type => 'sha256',
checksum => '69ddecc92e86b77016692589c094bf3a32e7cb8a0dfd9f97f253c173cce830e9',
checksum => '9d9b42a7b9ea554b4bf123f245d5f2014478ac87ddc508744a3f34f5c2d512c7',
}
file { 'delta':
path => "${user_home}/.local/bin/delta",
mode => '0755',
source => "/tmp/delta-0.13.0-x86_64-unknown-linux-gnu/delta"
source => "/tmp/delta-0.15.1-x86_64-unknown-linux-gnu/delta"
}
}

View file

@ -29,6 +29,7 @@
diffFilter = delta --color-only
[delta]
light = false
line-numbers = true
navigate = true
hunk-header-style = raw