on 206bf5b help sign in
bat/src
3 folders, 21 files
../ assets/Remove the code related to minimal_syntaxes.bin bin/Use once_cell instead of lazy_static syntax_mapping/Support for ignored-suffix CLI arguments (#1892) assets.rsReplace lazycell with once_cell config.rsAdd various other code refactorings controller.rsuse io::Empty instead of crafted dummy stdin struct decorations.rsReduce public API diff.rsImprove readability error.rsReplace deprecated 'error-chain' with 'thiserror' (#1820) input.rssrc/assets.rs: Extract helper method OpenedInput::path() less.rsReduce nesting in if blocks by short circuiting lib.rsDeny unsafe code in lib and bin line_range.rsLine range edge cases test macros.rsIntroduce bat_warning! helper macro output.rsReplace deprecated 'error-chain' with 'thiserror' (#1820) pager.rsRefactor "Use `matches` macro" paging.rsMove PagingMode to separate module preprocessor.rsreplace_nonprintable: Keep \n around pretty_printer.rsHighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable printer.rssrc/printer.rs: Simplify Plain Text fallback code style.rsstyle: add component 'rule' for horizontal file delimiter syntax_mapping.rsSupport for ignored-suffix CLI arguments (#1892) terminal.rsAdd ansi theme to replace ansi-light and ansi-dark wrapping.rsAddressed PR feedback. Upped min version and used matches! macro