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

🐛 doc: document sources of syntax-theme config option #1736

Open
injust opened this issue Jul 2, 2024 · 2 comments
Open

🐛 doc: document sources of syntax-theme config option #1736

injust opened this issue Jul 2, 2024 · 2 comments

Comments

@injust
Copy link
Contributor

injust commented Jul 2, 2024

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:

  1. syntax-theme option in the git config file
  2. BAT_THEME environment variable
  3. theme option in the bat config file

The documentation should be updated to reflect this.

@l-armstrong
Copy link

Is this issue still open for me to work on it?

@injust
Copy link
Contributor Author

injust commented Jul 8, 2024

@l-armstrong I haven't found time to work on this. If you'd like to contribute, please go for it!

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