git.iko.soy
/
bat
readme
files
commits
refs
on
448bfaf
help
sign in
history of
src/assets.rs
all commits
4e36a56
Expose syntect theme and syntax sets (#2030)
Dan Davison
5 years ago
a3ea798
Credit syntax definition and theme authors with new `--acknowledgements` option (#1971)
Martin Nordholts
5 years ago
e250da8
Run `cargo clippy --fix --all-targets --all-features` with Rust 1.57
Martin Nordholts
5 years ago
7fceb48
Load themes lazily for improved startup time (#1969)
Martin Nordholts
5 years ago
dd0925a
Replace lazycell with once_cell
Martin Nordholts
5 years ago
d7671fa
Remove the code related to minimal_syntaxes.bin
Martin Nordholts
5 years ago
e79b07b
HighlightingAssets::get_syntax_set(): Make private
Martin Nordholts
5 years ago
d6ed5e6
Support for ignored-suffix CLI arguments (#1892)
Bojan Đurđević
5 years ago
7fe4fdf
Introduce MapExtensionToUnknown MappingTarget (#1889)
cbolgiano
5 years ago
aefc8fd
src/printer.rs: Simplify Plain Text fallback code
Martin Nordholts
5 years ago
405a80f
HighlightingAssets: Turn get_syntax_for_path() into public API
Martin Nordholts
5 years ago
ad98d35
HighlightingAssets: Implement get_syntax_for_file_name() with get_syntax_for_path()
Martin Nordholts
5 years ago
b69ab21
HighlightingAssets: Extract get_syntax_for_path() method
Martin Nordholts
5 years ago
dc8225f
src/assets.rs: Extract helper method OpenedInput::path()
Martin Nordholts
5 years ago
0994f37
HighlightingAssets: Move common get_extension_syntax() code into find_syntax_by_extension()
Martin Nordholts
5 years ago
974dec3
HighlightingAssets: Inline find_syntax_by_file_name() and find_syntax_by_file_name_extension()
Martin Nordholts
5 years ago
a0c3636
src/assets.rs: Use /// not // for COMPRESS_* consts
Martin Nordholts
5 years ago
d989224
HighlightingAssets: Inline absolute_path
Martin Nordholts
5 years ago
82f439e
HighlightingAssets: Simplify absolute_path with .map_or_else()
Martin Nordholts
5 years ago
b034879
HighlightingAssets: No need for both path and path_str
Martin Nordholts
5 years ago
9ed9a6f
Simplify HighlightingAssets::get_syntax() first_line logic (#1852)
Martin Nordholts
5 years ago
e84b702
Extract some private submodules from 'bat::assets' (#1850)
Martin Nordholts
5 years ago
6226eba
HighlightingAssets: Add find_syntax_by_extension() helper
Martin Nordholts
5 years ago
9e0ea06
HighlightingAssets: Add find_syntax_by_name() helper
Martin Nordholts
5 years ago
7956485
Improve iterator usage
Marcin Puc
5 years ago
372e42f
Reduce nesting in if blocks by short circuiting
Marcin Puc
5 years ago
9124271
Load independent and minimal syntax sets when using --language (#1787)
Martin Nordholts
5 years ago
87978e7
Make asset compression optional at compile time (#1825)
Martin Nordholts
5 years ago
7c41bd7
assets: add Debian ucf backups to ignored suffixes
Ville Skyttä
5 years ago
19c3e82
Replace deprecated 'error-chain' with 'thiserror' (#1820)
Martin Nordholts
5 years ago
f1c0fd7
Don't take a HighlightingAssets detour to build assets (#1802)
Martin Nordholts
5 years ago
ed09f90
Fix all lints that are new with Rust 1.54
Martin Nordholts
5 years ago
25fa577
Make 'build-assets' an optional capability for application
Martin Nordholts
5 years ago
deddc81
src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()
Martin Nordholts
5 years ago
d8b813c
When returning a SyntaxReference, also return the SyntaxSet that contains it (#1776)
Martin Nordholts
5 years ago
47d955a
Add code for analyzing dependencies between syntaxes
Martin Nordholts
5 years ago
0331d28
cargo fmt
Martin Nordholts
5 years ago
3b020fd
Merge pull request #1771 from sharkdp/warn_when_missing_contexts
Keith Hall
5 years ago
50e1c60
Warn when building assets from files if some referenced contexts are missing
Keith Hall
5 years ago
a610987
assets::tests: Add get_syntax_name() helper
Martin Nordholts
5 years ago
ffdf349
HighlightingAssets: Encapsulate theme_set behind a getter
Martin Nordholts
5 years ago
6acec2c
Reduce startup time in loop-through mode with 80%-90%
Martin Nordholts
5 years ago
1bac375
HighlightingAssets: Move out fn get_integrated_*set() to module scope
Martin Nordholts
5 years ago
a810096
HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
Martin Nordholts
5 years ago
c0e0966
HighlightingAssets::get_extension_syntax(): Split up into smaller methods
Martin Nordholts
5 years ago
ccf4563
Make loading of cached assets closer in performance to integrated assets
Martin Nordholts
5 years ago
f6fc826
HighlightingAssets: Introduce private fn new() helper
Martin Nordholts
5 years ago
375d55a
HighlightingAssets: Encapsulate syntax_set behind a getter
Martin Nordholts
5 years ago
6ef2bb3
De-duplicate some themes.bin and syntaxes.bin related code
Martin Nordholts
5 years ago
33c11d6
Run cargo fmt
David Peter
5 years ago
older commits
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list