highlights(rust): fix some type highlights.

This commit is contained in:
Thomas Vigouroux 2020-08-07 10:47:39 +02:00 committed by Stephan Seitz
parent 94a5056269
commit 6133257ed6

View file

@ -43,6 +43,9 @@
name: (identifier) @type)
(#match? @type "^[A-Z]"))
(use_list (identifier) @type (#match? @type "^[A-Z]"))
(use_as_clause alias: (identifier) @type (#match? @type "^[A-Z]"))
;; Correct enum constructors
(call_expression
function: (scoped_identifier