feat(leo): highlights casting and record expressions added

This commit is contained in:
Robert Horvath 2024-12-29 12:16:38 -03:00 committed by Christian Clason
parent f87c8956ae
commit f0f48e0290

View file

@ -17,7 +17,10 @@
"struct" "struct"
] @keyword.type ] @keyword.type
"in" @keyword.operator [
"in"
"as"
] @keyword.operator
[ [
"constant" "constant"
@ -133,7 +136,23 @@
(struct_component_declaration (struct_component_declaration
(identifier) @variable.member) (identifier) @variable.member)
(type) @type (struct_expression
(identifier) @type.definition)
(struct_component_initializer
(identifier) @variable.member)
[
(type)
(boolean_type)
(integer_type)
(field_type)
(group_type)
(scalar_type)
(address_type)
(signature_type)
(string_type)
] @type
[ [
(block_height) (block_height)