summaryrefslogtreecommitdiffstats
path: root/src/assets.rs
AgeCommit message (Collapse)Author
2020-09-20Handle file extension conflicts in --list-languagesKienyew
2020-06-26Defaults *.fs to F#Caio Alonso
2020-06-03Fix compiler warning for 'windows' tests (dead_code)Roy Ivy III
2020-05-29[breaking] Remove special handling for theme previewsEthan P
2020-05-27Update testssharkdp
2020-05-26Switch from path-absolutize to path_abssharkdp
closes #1022
2020-05-24Fix syntax detection for symlinkssharkdp
closes #1001
2020-05-24Fix syntax detection for files called 'rails'sharkdp
closes #1008
2020-05-16Refactor HighlightingAssets::get_syntax to return Result typeEthan P
2020-05-15Add helper fn for checking if opened input is theme preview fileEthan P
2020-05-13Consolidate syntax detection behavior for all InputKind typesEthan P
2020-05-13Rename test for checking if inputkinds are consistentEthan P
2020-05-13Test that OrdinaryFile consistent with CustomReaderEthan P
2020-05-13Change assets.rs tests to use InputKind::CustomReaderEthan P
This should avoid errors in filesystems that don't support UTF-8 or invalid UTF-8.
2020-05-11Make syntax detection more consistent for Reader and File inputsEthan P
2020-04-24Fix some clippy lintsLzu Tao
Some might actually improve perf
2020-04-22Add *_with_name methodssharkdp
2020-04-22Add syntaxes and themes methodsharkdp
2020-04-22Rename error modulesharkdp
2020-04-22Fix warnings, sort imports, input from stringsharkdp
2020-04-22Completely refactor 'input' modulesharkdp
2020-04-22Add InputDescriptionsharkdp
2020-04-22Rename InputFile => Inputsharkdp
2020-04-22Separate inputs from configsharkdp
2020-04-22Large refactoring towards a better builder structuresharkdp
2020-04-21Fix compilation of librarysharkdp
2020-04-21Add metadata information to cached assetssharkdp
When saving/reading user-provided syntaxes or themes, `bat` will now maintain a `metadata.yaml` file which includes information about the `bat` version which was used to create the cached files. When loading cached files, we now print an error if they have been created with an incompatible version closes #882
2020-04-21Small refactoring, handle invalid UTF-8 filenamessharkdp
2020-04-21Extract common syntax functionality to helper fnsKyle Criddle
2020-04-21Pass stdin as a generic BufRead, fix stdin testssharkdp
2020-04-21Rename field name, new constructorssharkdp
2020-04-21Moved user_provided_filename to be contained within OrdinaryFile structKyle Criddle
2020-04-21Use --file-name to detect syntax highlightingKyle Criddle
Closes #891
2020-03-22Rename test methodssharkdp
2020-03-22Add more default mappings, reverse traversalsharkdp
2020-03-22Use absolute path for lookup in databasesharkdp
2020-03-22Initial implementation of glob-based syntax mappingsharkdp
2020-03-21Move syntaxes, fixes #874sharkdp
2020-03-21Add an even simple examplesharkdp
2020-03-21Hide get_syntax, move tests to modulesharkdp
2020-03-21Rename methods and parameterssharkdp
2020-03-21Add fallback theme, remove BAT_THEME_DEFAULTsharkdp
2020-03-21Hide some methods from HighlightingAssetssharkdp
2020-03-21Do not export syntax_set and theme_setsharkdp
2020-03-21Move error module to separate filesharkdp
2020-03-21Major restructuring of theme/syntax handlingsharkdp
2019-10-20Derive fmt::Debug whenever possibleFahmi Akbar Wildana
2019-05-30Enforce the creation of the full cache dir pathFernando Mendes
Fixes #576
2019-03-09Applied linter fixesDaniele Esposti
2019-03-09Migrated to Rust 2018Daniele Esposti