mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
highlights(rust): highlight Type in Type::Associated as @type instead of @namespace
This commit is contained in:
parent
8c7ffaf66b
commit
15d3849dcf
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue