summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene <junta.kristobal@gmail.com>2021-03-05 21:50:27 +0200
committerGitHub <noreply@github.com>2021-03-05 14:50:27 -0500
commit4fb55fa820aac3e4e534000bf65dc5050ec0630b (patch)
tree2aa72975d4d05fb1978e5731a274e7e47fc3f5e9
parent9d8e5d6394f033f1bbd4603ae5becb3d3cad2006 (diff)
replace deprecated config options in README (#532)
Remove deprecated *-color options in configuration examples and replace them with new *-style variants
-rw-r--r--README.md6
1 files 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`