File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ syn region rustGenericLifetimeCandidate display start=/\%(<\|,\s*\)\@<='/ end=/[
205
205
" rustLifetime must appear before rustCharacter, or chars will get the lifetime highlighting
206
206
syn match rustLifetime display " \'\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *"
207
207
syn match rustLabel display " \'\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *:"
208
+ syn match rustLabel display " \% (\<\% (break\| continue\)\s *\)\@ <=\'\% ([^[:cntrl:][:space:][:punct:][:digit:]]\| _\)\% ([^[:cntrl:][:punct:][:space:]]\| _\) *"
208
209
syn match rustCharacterInvalid display contained / b\? '\z s[\n\r\t ']\z e'/
209
210
" The groups negated here add up to 0-255 but nothing else (they do not seem to go beyond ASCII).
210
211
syn match rustCharacterInvalidUnicode display contained / b'\z s[^[:cntrl:][:graph:][:alnum:][:space:]]\z e'/
You can’t perform that action at this time.
0 commit comments