From f770df9c8cd56c05b878cdf35115ad872c822bc0 Mon Sep 17 00:00:00 2001 From: player01osu Date: Thu, 30 May 2024 21:55:22 -0400 Subject: [PATCH] fix(odin): highlight types with underscores --- queries/odin/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/odin/highlights.scm b/queries/odin/highlights.scm index 9e65937aa..ea8d401e2 100644 --- a/queries/odin/highlights.scm +++ b/queries/odin/highlights.scm @@ -192,7 +192,7 @@ (identifier) @type) ((identifier) @type - (#lua-match? @type "^[A-Z][a-zA-Z0-9]*$") + (#lua-match? @type "^[_A-Z][_a-zA-Z0-9]*$") (#not-has-parent? @type parameter procedure_declaration call_expression)) ; Fields