mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(primitive_type) @type.builtin
|
||||
(field_identifier) @field
|
||||
(shorthand_field_initializer
|
||||
(identifier) @field)
|
||||
(mod_item
|
||||
name: (identifier) @namespace)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue