attribute in stead of annotation

This commit is contained in:
Tormod Alf Try Tufteland 2021-03-20 17:40:40 +01:00 committed by Stephan Seitz
parent 8b4b07c55b
commit db67f5e517

View file

@ -70,9 +70,9 @@
(type_identifier) @type
;; Annotations
(annotation (single_annotation) @annotation)
(single_annotation (user_type (type_identifier) @annotation))
(single_annotation (constructor_invocation (user_type (type_identifier) @annotation)))
(annotation (single_annotation) @attribute)
(single_annotation (user_type (type_identifier) @attribute))
(single_annotation (constructor_invocation (user_type (type_identifier) @attribute)))
;; it