Skip to content

Commit

Permalink
Add typeid
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill authored May 12, 2018
1 parent a468cf4 commit cbf0f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Odin.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ contexts:
scope: constant.numeric.odin
- match: '---'
scope: constant.numeric.odin
- match: \b(type|macro|struct|enum|union|map|bit_field)\b
- match: \b(type|var|macro|struct|enum|union|map|set|bit_field|typeid)\b
scope: storage.type.odin
- match: \b(cast|transmute|auto_cast)\b
scope: keyword.function.odin
Expand All @@ -94,7 +94,7 @@ contexts:
1: meta.function.odin entity.name.function.odin
2: keyword.control.odin
3: storage.type.odin
- match: \b(size_of|align_of|offset_of|type_of|type_info_of)\b\s*\(
- match: \b(size_of|align_of|offset_of|type_of|type_info_of|typeid_of)\b\s*\(
captures:
1: keyword.function.odin
- match: (proc|macro)\s*[\(]
Expand Down

0 comments on commit cbf0f51

Please sign in to comment.