mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-18 20:12:26 +01:00
.github
assets
diagnostics
doc
examples
plugins
src
tests
benchmarks
examples
mocked-pagers
scripts
snapshots
syntax-tests
highlighted
source
BatTestCustomAssets.sublime-syntax
compare_highlighted_versions.py
create_highlighted_versions.py
regression_test.sh
test_custom_assets.sh
update.sh
utils
.gitattributes
assets.rs
integration_tests.rs
no_duplicate_extensions.rs
snapshot_tests.rs
tester.rs
.gitignore
.gitmodules
CHANGELOG.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
NOTICE
README.md
build.rs
rustfmt.toml
We need to type `inf` and `INF` as strings in `INI.sublime-syntax`, otherwise `yaml-rust` interprets them as real numbers ("infinity") and they do not get registered as file extensions: /Users/martin/src/yaml-rust # https://github.com/chyh1990/yaml-rust % cargo run --example dump_yaml ~/src/bat/assets/syntaxes/02_Extra/INI.sublime-syntax --- String("name"): String("INI") String("file_extensions"): String("ini") String("INI") Real("inf") Real("INF") ... Also add a regression test.