Skip to content

Commit

Permalink
Update manual/src/installation.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Davison <[email protected]>
  • Loading branch information
ernstki and dandavison authored Jan 14, 2025
1 parent 951a42c commit 4796de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ Behind the scenes, delta uses [`less`](https://www.greenwoodsoftware.com/less/)
It's important to have a reasonably recent version of less installed.
On MacOS, install `less` from Homebrew. For Windows, see [Using Delta on Windows](./tips-and-tricks/using-delta-on-windows.md).

Delta also relies on [`bat`](https://github.com/sharkdp/bat) for [custom themes and syntaxes](./supported-languages-and-themes.md). Ideally, you should install the same version of bat as specified in the [`Cargo.toml`](https://github.com/dandavison/delta/blob/main/Cargo.toml) for the delta release you're using. There are [known problems](https://github.com/dandavison/delta/issues/1712) with v0.18.3 and prior versions of bat.
If you use [`bat`](https://github.com/sharkdp/bat) and are running `bat cache --build` to install custom themes or language syntaxes then you should install the same version of bat as specified in the [`Cargo.toml`](https://github.com/dandavison/delta/blob/main/Cargo.toml) for the delta release you're using, otherwise delta will crash with a [memory error](https://github.com/dandavison/delta/issues/1712). The current version of delta does not work with bat v0.18.3 or prior versions.

0 comments on commit 4796de2

Please sign in to comment.