From cb8cc77be9bef7c4d0b0e12dc6647ddcd3ce6e5c Mon Sep 17 00:00:00 2001 From: Arcueid Date: Thu, 10 Oct 2024 17:30:18 +0800 Subject: [PATCH] adjust delta --- dotfiles/git/.gitconfig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dotfiles/git/.gitconfig b/dotfiles/git/.gitconfig index cc08d7f..30a3f4f 100644 --- a/dotfiles/git/.gitconfig +++ b/dotfiles/git/.gitconfig @@ -14,7 +14,8 @@ diffFilter = delta --color-only [delta] - navigate = true + ; TODO 会出现 `Pattern not found (press RETURN)` + ; navigate = true features = line-numbers decorations whitespace-error-style = 22 reverse @@ -24,8 +25,9 @@ [diff] colorMoved = default -[delta "decorations"] - commit-decoration-style = yellow ul ol - file-style = bold yellow ul - file-decoration-style = none - hunk-header-decoration-style = cyan ul +; 用默认样式 +; [delta "decorations"] +; commit-decoration-style = yellow ul ol +; file-style = bold yellow ul +; file-decoration-style = none +; hunk-header-decoration-style = cyan ul