We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c608f commit e72f86aCopy full SHA for e72f86a
languages/crystal/highlights.scm
@@ -82,6 +82,8 @@
82
(self)
83
] @variable.special
84
85
+(comment) @comment
86
+
87
(
88
(comment)+ @comment.doc
89
.
@@ -102,8 +104,6 @@
102
104
]
103
105
)
106
-(comment) @comment
-
107
; Operators and punctuation
108
[
109
"="
@@ -206,3 +206,7 @@
206
(_) @function
207
])
208
(#match? @keyword "(class_)?(getter|setter|property)[?!]?"))
209
210
+(call
211
+ method: (_) @keyword
212
+ (#match? @keyword "record"))
languages/crystal/outline.scm
@@ -57,3 +57,10 @@
57
method: (_) @context
58
arguments: (_) @name
59
(#match? @context "(class_)?(getter|setter|property)[?!]?")) @item
60
61
62
63
+ method: (_) @context
64
+ arguments: (argument_list
65
+ (constant) @name)
66
+ (#match? @context "record")) @item
0 commit comments