mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
highlights(c): highlight field_designator as @property
This commit is contained in:
parent
8e8d27bb0d
commit
8c56988d79
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@
|
|||
(field_identifier) @property)) @_parent
|
||||
(#not-has-parent? @_parent template_method function_declarator call_expression))
|
||||
|
||||
(field_designator) @property
|
||||
(((field_identifier) @property)
|
||||
(#has-ancestor? @property field_declaration)
|
||||
(#not-has-ancestor? @property function_declarator))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue