lazygit: built-in diff first in diffRenderers too; keep pagers for 0.61

The merge kept mainframe's diffRenderers block (written by lazygit 0.65.1's
config migration) with delta first, alongside the pagers block. 0.65 reads
only diffRenderers, so mainframe defaulted to delta.

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:12:21 -04:00
1 parent c990c8a0a7
commit 29192320cd
1 file changed
+9 -8
+9 -8
View File
@@ -1,12 +1,13 @@
git: git:
# Cycle between these with | in any diff view. The first is the default. # Two copies of the same list: lazygit 0.65+ (mainframe) reads diffRenderers,
# older versions (0.61 on sctfw004) read pagers. 0.65 leaves pagers alone when
# diffRenderers is present. Keep them in the same order. | cycles; first is default.
diffRenderers:
- type: rawGit # lazygit's built-in diff, which follows the terminal theme
- type: extDiff
command: difft --color=always
- command: delta --dark --paging=never
pagers: pagers:
- pager: "" # empty = lazygit's built-in diff, which follows the terminal theme - pager: "" # empty = built-in diff
- externalDiffCommand: difft --color=always - externalDiffCommand: difft --color=always
- pager: delta --dark --paging=never - pager: delta --dark --paging=never
# Cycle between these with | in any diff view.
diffRenderers:
- colorArg: always
command: delta --dark --paging=never
- command: difft --color=always
type: extDiff