You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bat --version
> bat 0.19.0 (59a8f58b)
$ delta --version
> delta 0.11.3
Description
I've added a custom theme to bat as instructed in their docs. I've run bat cache --build and if I run bat --list-themes | cat I see the following list:
1337
Coldark-Cold
Coldark-Dark
DarkNeon
Dracula
GitHub
Monokai Extended
Monokai Extended Bright
Monokai Extended Light
Monokai Extended Origin
Nord
OneHalfDark
OneHalfLight
Solarized (dark)
Solarized (light)
Sublime Snazzy
TwoDark
Visual Studio Dark+
ansi
base16
base16-256
gruvbox-dark
gruvbox-light
polar-ice <-------- this is my theme!
zenburn
When using bat my custom theme works as expected. However, if I run delta --list-syntax-themes, I get:
Hi @hbarcelos, thanks for this. I think it's the same issue as #895. The immediate fix would be to use an older version of bat to create the custom theme for delta. The real fix is this unreleased PR #903 and the accompanying bat PR sharkdp/bat#2030 which would need to be released first.
Context
Description
I've added a custom theme to
bat
as instructed in their docs. I've runbat cache --build
and if I runbat --list-themes | cat
I see the following list:When using
bat
my custom theme works as expected. However, if I rundelta --list-syntax-themes
, I get:No
polar-ice
theme as I would expect.In my
themes.gitconfig
file I have:So the obvious result is that although the diff colors are correct, the theme for syntax highlighting is not working.
The text was updated successfully, but these errors were encountered: