Skip to content

Commit

Permalink
Remove constant value declaration highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Oct 15, 2017
1 parent d460e15 commit 8ad2d93
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Odin.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ contexts:


custom_styling:
- match: \b([A-Z_](?![a-z])[A-Z_0-9]+)\b
- match: \b({{screaming_identifier}})\b
captures:
1: storage.constant.odin

Expand All @@ -53,9 +53,9 @@ contexts:
pop: true

keywords:
- match: \b(import|export|foreign|foreign_library|foreign_system_library)\b
- match: \b(import|export|foreign)\b
scope: keyword.control.odin
- match: \b(if|else|when|for|in|defer|switch|return)\b
- match: \b(if|else|when|for|in|defer|switch|return|const)\b
scope: keyword.control.odin
- match: \b(fallthrough|break|continue|case|vector|static|dynamic)\b
scope: keyword.control.odin
Expand Down Expand Up @@ -102,9 +102,6 @@ contexts:
captures:
1: meta.type.odin entity.name.type.odin
2: storage.type.odin
- match: '\b({{screaming_identifier}})\s*[:].*[:]\s*'
captures:
1: constant.user.odin meta.constant.odin entity.name.constant.odin

types:
- match: '\b(struct|enum|union|bit_field)\b(?:(\{)(\}))?'
Expand Down

0 comments on commit 8ad2d93

Please sign in to comment.