on master help sign in
Point to delta in usage-with-git section of README
3f37d29Dan Davison
README.md+3−1
@@ -122,7 +122,7 @@ tail -f /var/log/pacman.log | bat --paging=never -l log
122Note that we have to switch off paging in order for this to work. We have also specified the syntax
122Note that we have to switch off paging in order for this to work. We have also specified the syntax
123explicitly (`-l log`), as it can not be auto-detected in this case.
123explicitly (`-l log`), as it can not be auto-detected in this case.
124
124
125−#### `git show`
125+#### `git`
126
126
127You can combine `bat` with `git show` to view an older version of a given file with proper syntax
127You can combine `bat` with `git show` to view an older version of a given file with proper syntax
128highlighting:
128highlighting:
@@ -130,6 +130,8 @@ highlighting:
130git show v0.6.0:src/main.rs | bat -l rs
130git show v0.6.0:src/main.rs | bat -l rs
131```
131```
132
132
133+Note that syntax highlighting within diffs is currently not supported. If you are looking for this, check out [delta](https://github.com/dandavison/delta).
134+
133#### `xclip`
135#### `xclip`
134
136
135The line numbers and Git modification markers in the output of `bat` can make it hard to copy
137The line numbers and Git modification markers in the output of `bat` can make it hard to copy