Skip to content

Commit 3a608ce

Browse files
Update highlights.scm
1 parent 03c918c commit 3a608ce

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

languages/crystal/highlights.scm

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
"alias"
3+
"alignof"
34
"annotation"
4-
"asm"
55
"begin"
66
"break"
77
"case"
@@ -19,22 +19,22 @@
1919
"if"
2020
"in"
2121
"include"
22+
"instance_alignof"
2223
"instance_sizeof"
2324
"lib"
2425
"macro"
2526
"module"
2627
"next"
2728
"of"
29+
"offsetof"
2830
"out"
2931
"pointerof"
30-
"previous_def"
3132
"require"
3233
"rescue"
3334
"return"
3435
"select"
3536
"sizeof"
3637
"struct"
37-
"super"
3838
"then"
3939
"type"
4040
"typeof"
@@ -246,3 +246,6 @@
246246
(call
247247
method: (_) @keyword
248248
(#match? @keyword "record"))
249+
250+
((identifier) @keyword
251+
(#match? @keyword "(previous_def|super)"))

0 commit comments

Comments
 (0)