We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b9756f + c1db6fc commit be113ddCopy full SHA for be113dd
RustEnhanced.sublime-syntax
@@ -684,6 +684,9 @@ contexts:
684
- match: '{{identifier}}'
685
scope: entity.name.enum.rust
686
set: enum-maybe-where
687
+ - match: '(?=\S)'
688
+ # Abort on invalid character.
689
+ pop: true
690
691
enum-maybe-where:
692
- meta_scope: meta.enum.rust
@@ -693,6 +696,9 @@ contexts:
693
696
- match: '\{'
694
697
scope: punctuation.definition.block.begin.rust
695
698
set: enum-body
699
700
701
702
703
enum-body:
704
0 commit comments