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.
bat/src
Martin Nordholts 05e9da390f bat cache --build: Print syntect error message for themes if any
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 bat --list-languages: remove unnecessary format!() call 4 years ago
assets.rs bat cache --build: Print syntect error message for themes if any 4 years ago
assets_metadata.rs Fix some clippy lints 5 years ago
config.rs Skip non-file inputs when using --diff 5 years ago
controller.rs Remove repeated `contains` calls 4 years ago
decorations.rs Reduce public API 5 years ago
diff.rs Move git changes support behind a feature 5 years ago
error.rs Throws an error when `bat` is being user as pager. 4 years ago
input.rs Revert "Add io cycle detection with clircle" 4 years ago
less.rs Move paging support behind a feature 5 years ago
lib.rs Introduce bat_warning! helper macro 4 years ago
line_range.rs Fix some clippy lints 5 years ago
macros.rs Introduce bat_warning! helper macro 4 years ago
output.rs remove all matches 4 years ago
paging.rs Move PagingMode to separate module 5 years ago
preprocessor.rs replace_nonprintable: Keep \n around 4 years ago
pretty_printer.rs fix some clippy warnings 4 years ago
printer.rs Add ansi theme to replace ansi-light and ansi-dark 4 years ago
style.rs style: add component 'rule' for horizontal file delimiter 4 years ago
syntax_mapping.rs Simplify code 4 years ago
terminal.rs Add ansi theme to replace ansi-light and ansi-dark 4 years ago
wrapping.rs Rename wrap => wrapping 5 years ago