highlights(rust): highlight fields with shorthand_field_initializer

This commit is contained in:
Stephan Seitz 2021-05-24 19:31:01 +02:00 committed by Thomas Vigouroux
parent 078a08440b
commit db7f10370d

View file

@ -16,6 +16,8 @@
(type_identifier) @type
(primitive_type) @type.builtin
(field_identifier) @field
(shorthand_field_initializer
(identifier) @field)
(mod_item
name: (identifier) @namespace)