From 4fb55fa820aac3e4e534000bf65dc5050ec0630b Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 5 Mar 2021 21:50:27 +0200 Subject: replace deprecated config options in README (#532) Remove deprecated *-color options in configuration examples and replace them with new *-style variants --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c77bdbf2..d94b23f3 100644 --- a/README.md +++ b/README.md @@ -290,15 +290,15 @@ Set delta to be git's pager in your `.gitconfig`. Delta has many options to alte pager = delta [delta] - plus-color = "#012800" - minus-color = "#340001" + plus-style = "syntax #012800" + minus-style = "syntax #340001" syntax-theme = Monokai Extended [interactive] diffFilter = delta --color-only ``` -Note that delta color argument values in ~/.gitconfig should be in double quotes, like `--minus-color="#340001"`. For theme names and other values, do not use quotes as they will be passed on to delta, like `theme = Monokai Extended`. +Note that delta style argument values in ~/.gitconfig should be in double quotes, like `--minus-style="syntax #340001"`. For theme names and other values, do not use quotes as they will be passed on to delta, like `theme = Monokai Extended`. All git commands that display diff output should now display syntax-highlighted output. For example: - `git diff` -- cgit v1.2.3