1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-02-21 20:38:44 +00:00
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`.
2021-08-08 08:26:17 +02:00
..
2020-04-24 16:11:05 +02:00
2020-04-22 23:55:28 +02:00
2021-03-07 14:59:10 +01:00
2020-04-24 16:11:05 +02:00
2020-12-28 09:27:40 +01:00
2021-05-27 12:05:07 +02:00
2020-04-22 23:55:28 +02:00