You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/src
Martin Nordholts d8b813c0bf
When returning a SyntaxReference, also return the SyntaxSet that contains it (#1776)
To improve startup performance, we will later load smaller `SyntaxSet`s instead
of one giant one. However, the current API assumes only one `SyntaxSet` is ever used,
and that that implicitly is the `SyntaxSet` from which returned `SyntaxReference`s
comes.

This change changes the API to reflect that `SyntaxSet` and `SyntaxReference`
are tightly coupled, and enables the use of several `SyntaxSet`.
3 years ago
..
bin/bat When returning a SyntaxReference, also return the SyntaxSet that contains it (#1776) 3 years ago
assets.rs When returning a SyntaxReference, also return the SyntaxSet that contains it (#1776) 3 years ago
assets_metadata.rs Fix some clippy lints 4 years ago
config.rs Support a hidden arg --no-custom-assets that skips loading assets from the cache 3 years ago
controller.rs Change circle detection to use new more conservative method and run in main loop instead of before the loop 3 years ago
decorations.rs Reduce public API 4 years ago
diff.rs Improve readability 3 years ago
error.rs Throws an error when `bat` is being user as pager. 4 years ago
input.rs Use assert!(..) instead of assert_eq!(true, ..) 3 years ago
less.rs Fix for Windows: do not run binaries from CWD 3 years ago
lib.rs Add code for analyzing dependencies between syntaxes 3 years ago
line_range.rs Fix some clippy lints 4 years ago
macros.rs Introduce bat_warning! helper macro 4 years ago
output.rs Fix for Windows: do not run binaries from CWD 3 years ago
pager.rs Refactor "Use `matches` macro" 3 years ago
paging.rs Move PagingMode to separate module 4 years ago
preprocessor.rs replace_nonprintable: Keep \n around 4 years ago
pretty_printer.rs HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable 3 years ago
printer.rs When returning a SyntaxReference, also return the SyntaxSet that contains it (#1776) 3 years ago
style.rs style: add component 'rule' for horizontal file delimiter 4 years ago
syntax_dependencies.rs Add code for analyzing dependencies between syntaxes 3 years ago
syntax_mapping.rs Fix broken resolv.conf highlighting 3 years ago
terminal.rs Add ansi theme to replace ansi-light and ansi-dark 4 years ago
wrapping.rs Addressed PR feedback. Upped min version and used matches! macro 4 years ago