expand match store cache to include all match info

This commit is contained in:
Ryan Fleury
2025-06-27 11:24:59 -07:00
parent 0d75e8e5e0
commit a702e187ef
3 changed files with 53 additions and 13 deletions
+1 -1
View File
@@ -10287,7 +10287,7 @@ rd_code_color_slot_from_txt_token_kind_lookup_string(TXT_TokenKind kind, String8
// rjf: try to map using asynchronous matching system
if(!mapped && kind == TXT_TokenKind_Identifier)
{
RDI_SectionKind section_kind = di_match_store_section_kind_from_name(rd_state->match_store, string, 0);
RDI_SectionKind section_kind = di_match_from_name(rd_state->match_store, string, 0).section;
mapped = 1;
switch(section_kind)
{