fix(odin): highlight types with underscores

This commit is contained in:
player01osu 2024-05-30 21:55:22 -04:00 committed by Amaan Qureshi
parent 5c924407cf
commit f770df9c8c

View file

@ -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