summaryrefslogtreecommitdiffstats
path: root/src/assets.rs
AgeCommit message (Expand)Author
2024-02-25Inline `format!` args wherever possibleLena
2023-12-11Migrate `SyntaxMapping` impl to new systemcyqsimon
2023-09-01Replace `dirs` crate with `etcetera` crateUtkarsh Gupta
2023-03-24Replace `dirs-next` with the original `dirs` crateConstantin Nickel
2023-02-05Directly read preferences instead of using the defaults CLIBlackHoleFox
2023-01-13Fix code fence in doc commentrhysd
2022-05-24Make the default macOS theme depend on Dark Mode (#2197)Martin Nordholts
2022-05-07Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes (#2181)Martin Nordholts
2022-02-08Expose syntect theme and syntax sets (#2030)Dan Davison
2021-12-11Credit syntax definition and theme authors with new `--acknowledgements` opti...Martin Nordholts
2021-12-08Run `cargo clippy --fix --all-targets --all-features` with Rust 1.57Martin Nordholts
2021-12-06Load themes lazily for improved startup time (#1969)Martin Nordholts
2021-11-22Replace lazycell with once_cellMartin Nordholts
2021-11-22Remove the code related to minimal_syntaxes.binMartin Nordholts
2021-11-22HighlightingAssets::get_syntax_set(): Make privateMartin Nordholts
2021-11-19Support for ignored-suffix CLI arguments (#1892)Bojan Đurđević
2021-10-25Introduce MapExtensionToUnknown MappingTarget (#1889)cbolgiano
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-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-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-07Make asset compression optional at compile time (#1825)Martin Nordholts
2021-08-29assets: add Debian ucf backups to ignored suffixesVille Skyttä
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-19Fix all lints that are new with Rust 1.54Martin 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-08When returning a SyntaxReference, also return the SyntaxSet that contains it ...Martin Nordholts
2021-08-07Add code for analyzing dependencies between syntaxesMartin Nordholts
2021-08-05cargo fmtMartin Nordholts
2021-08-02Merge pull request #1771 from sharkdp/warn_when_missing_contextsKeith Hall
2021-08-02Warn when building assets from files if some referenced contexts are missingKeith Hall
2021-08-02assets::tests: Add get_syntax_name() helperMartin Nordholts
2021-07-29HighlightingAssets: Encapsulate theme_set behind a getterMartin Nordholts
2021-07-29Reduce startup time in loop-through mode with 80%-90%Martin Nordholts