From 4796de2db9f095e95bedf5b1996528d588cd0446 Mon Sep 17 00:00:00 2001 From: Kevin Ernst Date: Tue, 14 Jan 2025 08:49:14 -0500 Subject: [PATCH] Update manual/src/installation.md Co-authored-by: Dan Davison --- manual/src/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/src/installation.md b/manual/src/installation.md index 8bc11335e..7cb509f9e 100644 --- a/manual/src/installation.md +++ b/manual/src/installation.md @@ -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.