1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-19 04:21:06 +00:00
Martin Nordholts 5fe9b3e1b3 Make INI syntax register as handler of .inf files
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.
2022-05-11 17:39:01 +02:00
..
2020-03-21 23:53:53 +01:00
2022-04-26 19:42:18 +02:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-04-27 21:45:36 +02:00
2021-01-09 22:35:50 +01:00
2021-07-25 13:27:30 +02:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2021-10-23 13:35:32 +02:00
2020-10-20 19:32:14 +02:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-05-01 10:24:19 +02:00
2021-10-03 19:17:26 +02:00
2020-03-21 23:53:53 +01:00
2021-08-16 06:16:53 +02:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-04-12 19:42:36 +02:00
2022-02-14 19:14:19 +01:00
2020-03-21 23:53:53 +01:00
2021-03-15 07:21:15 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2021-01-09 22:35:50 +01:00
2020-03-21 23:53:53 +01:00
2020-03-21 23:53:53 +01:00
2021-01-02 09:45:19 +01:00
2020-03-21 23:53:53 +01:00
2020-04-30 09:59:14 +02:00
2021-10-03 19:17:26 +02:00
2020-04-12 19:20:28 +02:00
2020-03-21 23:53:53 +01:00