Skip to content

Commit

Permalink
Merge pull request #92 from malte-v/patch-1
Browse files Browse the repository at this point in the history
Add offsetof keyword
  • Loading branch information
Massimiliano Bertinetti authored Mar 21, 2020
2 parents ef08f77 + 3411574 commit 184ba67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/crystal.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
},
{
"comment": "Just as above but being not a logical operation",
"match": "(?<!\\.)\\b(asm|alias|alias_method|break|next|pointerof|typeof|sizeof|instance_sizeof|return|super|yield|uninitialized)\\b(?![?!])",
"match": "(?<!\\.)\\b(asm|alias|alias_method|break|next|pointerof|typeof|sizeof|instance_sizeof|offsetof|return|super|yield|uninitialized)\\b(?![?!])",
"name": "keyword.control.pseudo-method.crystal"
},
{
Expand Down

0 comments on commit 184ba67

Please sign in to comment.