mirror of https://github.com/sharkdp/bat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
05e9da390f
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.) |
4 years ago | |
---|---|---|
.. | ||
bin/bat | 4 years ago | |
assets.rs | 4 years ago | |
assets_metadata.rs | 5 years ago | |
config.rs | 5 years ago | |
controller.rs | 4 years ago | |
decorations.rs | 5 years ago | |
diff.rs | 5 years ago | |
error.rs | 4 years ago | |
input.rs | 4 years ago | |
less.rs | 5 years ago | |
lib.rs | 4 years ago | |
line_range.rs | 5 years ago | |
macros.rs | 4 years ago | |
output.rs | 4 years ago | |
paging.rs | 5 years ago | |
preprocessor.rs | 4 years ago | |
pretty_printer.rs | 4 years ago | |
printer.rs | 4 years ago | |
style.rs | 4 years ago | |
syntax_mapping.rs | 4 years ago | |
terminal.rs | 4 years ago | |
wrapping.rs | 5 years ago |