Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion RustEnhanced.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,9 @@ contexts:
- match: '\{'
scope: punctuation.definition.block.begin.rust
push: struct-classic-body
- match: '(?=\S)'
# Abort for an invalid match.
pop: true

struct-classic-body:
- meta_scope: meta.block.rust
Expand All @@ -628,7 +631,9 @@ contexts:
- match: ':'
scope: punctuation.separator.rust
- include: type-any-identifier

- match: '(?=\S)'
# Abort for an invalid match.
pop: true

union-identifier:
- meta_scope: meta.union.rust
Expand Down