refactor(highlight): merge redundant attr_entries and attr_entry_ids structs

An insert-only set now defines a monotonically increasing ordering by
itself. It can be used to both lookup the key from index, and vice versa.
This commit is contained in:
bfredl
2023-09-12 11:54:36 +02:00
parent 1c4a93b591
commit a6d745865a
4 changed files with 33 additions and 37 deletions

View File

@@ -219,6 +219,7 @@ typedef enum {
kHlCombine,
kHlBlend,
kHlBlendThrough,
kHlInvalid,
} HlKind;
typedef struct {