David Peter
48541b8507
Fix clippy suggestions
...
Leads to a performance improvement for `bat -A`:
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `./bat-master --no-config -A ./bat-master` | 259.8 ± 1.1 | 258.4 | 261.7 | 1.15 ± 0.01 |
| `./bat-2301 --no-config -A ./bat-master` | 225.6 ± 1.8 | 224.0 | 229.5 | 1.00 |
2022-09-04 14:28:44 +02:00
Martin Nordholts
486510395b
Allow the license used by GraphQL
...
This license is apparently common enough that GitHub recognizes it. See
https://github.com/dncrews/GraphQL-SublimeText3/blob/master/LICENSE .
This will fix the CI failure in #2000
2022-02-07 06:14:07 +01:00
Martin Nordholts
a3ea798246
Credit syntax definition and theme authors with new --acknowledgements
option ( #1971 )
...
The text that is printed is generated when building assets, by analyzing LICENSE
and NOTICE files that comes with syntaxes and themes.
We take this opportunity to also add a NOTICE file as defined by Apache License 2.0.
2021-12-11 14:00:45 +01:00
Martin Nordholts
d7671fa8e3
Remove the code related to minimal_syntaxes.bin
...
To get fast startup, syntect will instead start to lazy-load syntaxes. See
https://github.com/trishume/syntect/pull/393 and discussions in linked PRs.
2021-11-22 20:42:01 +01:00
Martin Nordholts
9d9b266f54
build_assets.rs: Enable dump of syntax dependencies to Graphviz dot file
2021-09-24 20:07:55 +02:00