refactor(signs): handle non-sign attrs separately (#19784)

This commit is contained in:
Lewis Russell
2022-08-16 11:03:44 +01:00
committed by GitHub
parent 4f0a0a2933
commit 9a4b8dc603
5 changed files with 149 additions and 136 deletions

View File

@@ -223,4 +223,10 @@ typedef struct {
#define COLOR_ITEM_INITIALIZER { .attr_id = -1, .link_id = -1, \
.version = -1, .is_default = false }
/// highlight attributes with associated priorities
typedef struct {
int attr_id;
int priority;
} HlPriAttr;
#endif // NVIM_HIGHLIGHT_DEFS_H