mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
highlights(rust): highlight fields with shorthand_field_initializer
This commit is contained in:
parent
078a08440b
commit
db7f10370d
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@
|
||||||
(type_identifier) @type
|
(type_identifier) @type
|
||||||
(primitive_type) @type.builtin
|
(primitive_type) @type.builtin
|
||||||
(field_identifier) @field
|
(field_identifier) @field
|
||||||
|
(shorthand_field_initializer
|
||||||
|
(identifier) @field)
|
||||||
(mod_item
|
(mod_item
|
||||||
name: (identifier) @namespace)
|
name: (identifier) @namespace)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue