1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-08-19 12:32:26 +01:00
Files
.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
bat/src
Martin Nordholts 05e9da390f bat cache --build: Print syntect error message for themes if any
This will fix  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.)
2020-12-28 22:32:56 +01:00
..
2020-04-24 16:11:05 +02:00
2020-12-21 09:41:29 +01:00
2020-04-22 23:55:28 +02:00
2020-03-31 09:27:56 +02:00
2020-12-28 09:27:40 +01:00
2020-04-24 16:11:05 +02:00
2020-12-28 09:27:40 +01:00
2020-11-23 14:25:01 +01:00
2020-04-22 23:55:28 +02:00
2020-11-23 14:25:01 +01:00
2020-10-01 21:06:37 +02:00
2020-04-22 23:55:28 +02:00