Skip to content

Commit 19e55f6

Browse files
Merge pull request #386 from Sea-n/master
Add syntax highlight to readme
2 parents af73147 + 1848d19 commit 19e55f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,39 +50,39 @@ git config --global color.diff.whitespace "red reverse"
5050

5151
Should the first block of an empty line be colored. (Default: true)
5252

53-
```
53+
```shell
5454
git config --bool --global diff-so-fancy.markEmptyLines false
5555
```
5656

5757
### changeHunkIndicators
5858

5959
Simplify git header chunks to a more human readable format. (Default: true)
6060

61-
```
61+
```shell
6262
git config --bool --global diff-so-fancy.changeHunkIndicators false
6363
```
6464

6565
### stripLeadingSymbols
6666

6767
Should the pesky `+` or `-` at line-start be removed. (Default: true)
6868

69-
```
69+
```shell
7070
git config --bool --global diff-so-fancy.stripLeadingSymbols false
7171
```
7272

7373
### useUnicodeRuler
7474

7575
By default, the separator for the file header uses Unicode line-drawing characters. If this is causing output errors on your terminal, set this to `false` to use ASCII characters instead. (Default: true)
7676

77-
```
77+
```shell
7878
git config --bool --global diff-so-fancy.useUnicodeRuler false
7979
```
8080

8181
### rulerWidth
8282

8383
By default, the separator for the file header spans the full width of the terminal. Use this setting to set the width of the file header manually.
8484

85-
```
85+
```shell
8686
git config --global diff-so-fancy.rulerWidth 47 # git log's commit header width
8787
```
8888

0 commit comments

Comments
 (0)