Improve Ruby Grammar for superclasses (#8544)

Release Notes:

- Improved Ruby grammar to allow targeting of super classes including
namespaces classes
This commit is contained in:
Ben Hamment authored and GitHub committed 2024-03-01 16:08:03 -07:00
1 parent 96073b2783
commit efb4416198
1 file changed
+13
+13
View File
@@ -75,6 +75,18 @@
(constant) @type
(superclass
(constant) @type.super)
(superclass
(scope_resolution
(constant) @type.super))
(superclass
(scope_resolution
(scope_resolution
(constant) @type.super)))
(self) @variable.special
(super) @variable.special
@@ -169,6 +181,7 @@
","
";"
"."
"::"
] @punctuation.delimiter
[