lazygit: built-in diff as default pager, difft and delta behind |

delta's own syntax theme clashes with the terminal colour scheme that
lazygit's built-in diff follows. An entry with no pager and no
externalDiffCommand falls through to the built-in renderer
(pkg/gui/pty.go in 0.61.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Connor JohnstoneandClaude Opus 5.5 committed 2026-10-01 10:07:13 -04:00
1 parent 1d7bedab96
commit ba3dcc5328
1 file changed
+3 -3
+3 -3
View File
@@ -1,6 +1,6 @@
git:
# Cycle between these with | in any diff view.
# Cycle between these with | in any diff view. The first is the default.
pagers:
- colorArg: always
pager: delta --dark --paging=never
- pager: "" # empty = lazygit's built-in diff, which follows the terminal theme
- externalDiffCommand: difft --color=always
- pager: delta --dark --paging=never