mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-19 12:32:26 +01:00
.github
assets
diagnostics
doc
examples
src
bin
assets.rs
assets_metadata.rs
config.rs
controller.rs
decorations.rs
diff.rs
error.rs
input.rs
less.rs
lib.rs
line_range.rs
macros.rs
output.rs
paging.rs
preprocessor.rs
pretty_printer.rs
printer.rs
style.rs
syntax_mapping.rs
terminal.rs
wrapping.rs
tests
.gitignore
.gitmodules
CHANGELOG.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
build.rs
This will fix #614 by making it clear what is wrong by showing the following error message: Failed to load one or more themes from '/Users/me/.config/bat/themes' (reason: 'Invalid syntax theme settings') We also need to add a check if theme_dir.exists(), otherwise an absent dir will seem like an error: Failed to load one or more themes from '/Users/me/.config/bat/themes' (reason: 'IO error for operation on /Users/me/.config/bat/themes: No such file or directory (os error 2)') (This is the same check we already have for syntax_dir.)