mirror of
https://github.com/sharkdp/bat
synced 2024-11-04 18:00:24 +00:00
5fe9b3e1b3
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. |
||
---|---|---|
.. | ||
01_Packages@759d6eed9b | ||
02_Extra |