highlights(rust): highlight Type in Type::Associated as @type instead of @namespace

This commit is contained in:
Cormac Relf 2022-10-18 11:44:54 +02:00 committed by Christian Clason
parent 8c7ffaf66b
commit 15d3849dcf

View file

@ -71,6 +71,9 @@
name: (identifier) @namespace))
(scoped_type_identifier
path: (identifier) @namespace)
(scoped_type_identifier
path: (identifier) @type
(#lua-match? @type "^[A-Z]"))
(scoped_type_identifier
(scoped_identifier
name: (identifier) @namespace))