on 0b63ad5 help sign in
bat/src
2 folders, 21 files
../ assets/build_assets.rs: Enable dump of syntax dependencies to Graphviz dot file bin/Include git hash in `bat -V` and `bat --version` output if present assets.rssrc/printer.rs: Simplify Plain Text fallback code 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.rsPR comments addressed for line range +delta syntax 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.rsUse deref coercion to simplify some argument passing terminal.rsAdd ansi theme to replace ansi-light and ansi-dark wrapping.rsAddressed PR feedback. Upped min version and used matches! macro