From e5a546bf40349896df78918cbe10a4b15fcc1107 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 23 Oct 2026 21:21:33 +0500 Subject: lazygit: update diff renderers configuration --- files/.config/lazygit/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/files/.config/lazygit/config.yml b/files/.config/lazygit/config.yml index b3510d1..2926c7e 100644 --- a/files/.config/lazygit/config.yml +++ b/files/.config/lazygit/config.yml @@ -9,8 +9,15 @@ gui: rate: 100 shrinkSidePanelsToContent: true git: - pagers: - - pager: delta --paging=never --hyperlinks-file-link-format="lazygit-edit://{path}:{line}" + diffRenderers: + - command: delta --paging=never --hyperlinks-file-link-format="lazygit-edit://{path}:{line}" --{{colorScheme}} + - type: extDiff + command: difft --color=always --background={{colorScheme}} --context={{diffContext}} + - type: rawGit + args: [--color-words] + name: color-words + - type: rawGit + name: default # Do not spawn a separate process when using GPG # https://github.com/jesseduffield/lazygit/discussions/3605#discussioncomment-9567079 overrideGpg: true -- cgit v1.2.3