fix(predicates): Fix #446: highlight property only if not a method

This commit is contained in:
Stephan Seitz 2020-09-12 16:27:38 +02:00 committed by Thomas Vigouroux
parent f4979e5379
commit 3674ad89df
3 changed files with 7 additions and 3 deletions

View file

@ -119,7 +119,9 @@
] @function.macro
; TODO (preproc_arg) @embedded
(field_identifier) @property
(((field_expression
(field_identifier) @property)) @_parent
(not-has-parent? @_parent template_method function_declarator call_expression))
(statement_identifier) @label
[