mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(rust): fix some type highlights.
This commit is contained in:
parent
94a5056269
commit
6133257ed6
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue