The documentation for --syntax-theme says that it defaults to the value of the BAT_THEME environment variable (if it contains a valid theme name).
I don't have BAT_THEME set. Instead, I configured bat by following catppuccin/bat's instructions, i.e. --theme="Catppuccin Mocha" in ~/.config/bat/config.
In order of descending priority, delta seems to use:
syntax-theme option in the git config file
BAT_THEME environment variable
theme option in the bat config file
The documentation should be updated to reflect this.
The documentation for
--syntax-theme
says that it defaults to the value of theBAT_THEME
environment variable (if it contains a valid theme name).I don't have
BAT_THEME
set. Instead, I configuredbat
by followingcatppuccin/bat
's instructions, i.e.--theme="Catppuccin Mocha"
in~/.config/bat/config
.In order of descending priority,
delta
seems to use:syntax-theme
option in thegit
config fileBAT_THEME
environment variabletheme
option in thebat
config fileThe documentation should be updated to reflect this.