feat(git): add git-delta

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2023-10-01 11:48:13 +02:00
parent d61dcf3c00
commit 5f99af32cf
Signed by: mfocko
GPG key ID: 7C47D46246790496
3 changed files with 29 additions and 0 deletions
roles/user/git/templates

View file

@ -8,6 +8,22 @@
[core]
editor = code --wait
excludesfile = /home/{{ target_user }}/.gitignore
pager = delta
[delta]
file-style = blue bold
# file-decoration-style = omit
hunk-header-style = omit
hunk-header-decoration-style = omit
# minus-emph-style = normal "#701011"
# plus-emph-style = syntax "#105010"
line-numbers = true
hyperlinks = true
# hyperlinks-file-link-format = "vscode://file/{path}:{line}"
# side-by-side = true
navigate = true
features = decorations
[diff]
tool = vscode-difftool