Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Delta stops working after updating bat color themes #1088

Closed
armak opened this issue May 27, 2022 · 1 comment
Closed

🐛 Delta stops working after updating bat color themes #1088

armak opened this issue May 27, 2022 · 1 comment

Comments

@armak
Copy link

armak commented May 27, 2022

I checked some new themes for bat, as instructed in the documentation , after which delta stopped working with the following error:

$ git diff
[bat warning]: Unknown theme 'Monokai Extended', using default.
thread 'main' panicked at 'something is very wrong if the default theme is missing', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/bat-0.21.0/src/assets.rs:205:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This error occurs for every theme, and when leaving the syntax-theme parameter empty. I could not find any way to resolve this. bat itself is unaffected and still works as normal, the error only comes up when invoking delta. I'm using Ubuntu 22.04 in WSL1.

@dandavison
Copy link
Owner

Hi @armak, please update to the latest delta and bat, and recreate the bat cache. (See #1075.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants