summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Expand)Author
2021-09-29src/printer.rs: Simplify Plain Text fallback codeMartin Nordholts
2021-09-28HighlightingAssets: Turn get_syntax_for_path() into public APIMartin Nordholts
2021-09-28HighlightingAssets: Implement get_syntax_for_file_name() with get_syntax_for_...Martin Nordholts
2021-09-28HighlightingAssets: Extract get_syntax_for_path() methodMartin Nordholts
2021-09-27src/assets.rs: Extract helper method OpenedInput::path()Martin Nordholts
2021-09-24build_assets.rs: Enable dump of syntax dependencies to Graphviz dot fileMartin Nordholts
2021-09-24build_assets.rs: Ignore explicit contexts when tracking dependenciesMartin Nordholts
2021-09-24build_assets.rs: Sort first to make dependencies.dedup() actually usefulMartin Nordholts
2021-09-22build_assets.rs: Add code to track dependents of each syntaxMartin Nordholts
2021-09-22build_assets.rs: Make OtherSyntaxLookup come before SyntaxToDependenciesMartin Nordholts
2021-09-22build_assets.rs: Rename 'Dependency' to 'OtherSyntax'Martin Nordholts
2021-09-22src/printer.rs: Add HighlighterFromSet helperMartin Nordholts
2021-09-22HighlightingAssets: Move common get_extension_syntax() code into find_syntax_...Martin Nordholts
2021-09-22HighlightingAssets: Inline find_syntax_by_file_name() and find_syntax_by_file...Martin Nordholts
2021-09-18src/assets.rs: Use /// not // for COMPRESS_* constsMartin Nordholts
2021-09-18HighlightingAssets: Inline absolute_pathMartin Nordholts
2021-09-18HighlightingAssets: Simplify absolute_path with .map_or_else()Martin Nordholts
2021-09-18HighlightingAssets: No need for both path and path_strMartin Nordholts
2021-09-16Simplify HighlightingAssets::get_syntax() first_line logic (#1852)Martin Nordholts
2021-09-15Extract some private submodules from 'bat::assets' (#1850)Martin Nordholts
2021-09-14HighlightingAssets: Add find_syntax_by_extension() helperMartin Nordholts
2021-09-14HighlightingAssets: Add find_syntax_by_name() helperMartin Nordholts
2021-09-12Add various other code refactoringsMarcin Puc
2021-09-12Use deref coercion to simplify some argument passingMarcin Puc
2021-09-12Improve iterator usageMarcin Puc
2021-09-12Reduce nesting in if blocks by short circuitingMarcin Puc
2021-09-09Load independent and minimal syntax sets when using --language (#1787)Martin Nordholts
2021-09-07Add context to .ino configurationKevin John Mulligan
2021-09-07Make asset compression optional at compile time (#1825)Martin Nordholts
2021-08-29assets: add Debian ucf backups to ignored suffixesVille Skyttä
2021-08-27src/build_assets.rs: Refactor into smaller functions (#1822)Martin Nordholts
2021-08-26Replace deprecated 'error-chain' with 'thiserror' (#1820)Martin Nordholts
2021-08-24Don't take a HighlightingAssets detour to build assets (#1802)Martin Nordholts
2021-08-23PR comments addressed for line range +delta syntaxBojan Durdevic
2021-08-23Support for line range plus syntaxBojan Durdevic
2021-08-22Add LANG and LC_ALL to --diagnostics outputMartin Nordholts
2021-08-19Fix all lints that are new with Rust 1.54Martin Nordholts
2021-08-19Run 'cargo fmt'Martin Nordholts
2021-08-17Make 'build-assets' an optional capability for applicationMartin Nordholts
2021-08-17src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()Martin Nordholts
2021-08-14feat(config): added recognition of $BAT_CONFIG_DIRBill Risher
2021-08-09Make --no-paging and --no-pager work againMartin Nordholts
2021-08-08bin: Allow to build without bugreportMartin Nordholts
2021-08-08When returning a SyntaxReference, also return the SyntaxSet that contains it ...Martin Nordholts
2021-08-08Fix typo in unreachable!(..) message for --wrapMartin Nordholts
2021-08-07Add code for analyzing dependencies between syntaxesMartin Nordholts
2021-08-07Make --style docs reflect that 'full' is defaultMartin Nordholts
2021-08-05cargo fmtMartin Nordholts
2021-08-02Use assert!(..) instead of assert_eq!(true, ..)Martin Nordholts
2021-08-02Merge pull request #1771 from sharkdp/warn_when_missing_contextsKeith Hall