mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 12:46:07 +00:00
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:
parent
242f032d74
commit
f3f2225a8e
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue