Dotfiles/site-modules/core/templates/git/gitconfig.erb
Ade Attwood 8d56ef0940 feat(shell): let the delta theme be defined by base16-shell
When using light and dark theme I had to keep changing the git config so
git diff was readable. I have found that base16 shell has built in
support for delta so we can remove this config and let base16 shell deal
with it.

See: 9706041539/hooks/base16-delta.sh
2023-11-04 15:23:57 +00:00

39 lines
730 B
Text

<%- $file = __FILE__ -%>
<%- $comment = '#' -%>
<%= scope.call_function('template', ["core/header.erb"]) %>
[user]
email = <%= scope.call_function('lookup', ["email"]) %>
name = <%= scope.call_function('lookup', ["user_name"]) %>
[core]
editor = nvim
autocrlf = input
[merge]
conflictstyle = diff3
[rerere]
enabled = true
[push]
default = current
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
line-numbers = true
navigate = true
hunk-header-style = raw
hunk-header-decoration-style = ul
file-modified-label = "modified:"
file-removed-label = "removed:"
file-added-label = "added:"
file-renamed-label = "renamed:"