fix(highlights): highlight @type in phpdoc

Currently, phpdoc types that are not union type are not highlighted, this change
allows to apply `@type` group to all types.
This commit is contained in:
gbprod 2024-02-21 14:59:31 +01:00 committed by Stephan Seitz
parent 977d94975d
commit ca46eb3ac9

View file

@ -23,6 +23,13 @@
(parameter
(variable_name) @variable.parameter)
[
(array_type)
(primitive_type)
(named_type)
(optional_type)
] @type
(union_type
[
(array_type)