File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change 447
447
' name' : ' support.function.type-of.scala'
448
448
}
449
449
{
450
- ' match' : ' \\ b(else|if|do|while|for|yield|match|case)\\ b'
450
+ ' match' : ' \\ b(else|if|do|while|for|yield|match|case|until|to )\\ b'
451
451
' name' : ' keyword.control.flow.scala'
452
452
}
453
453
{
458
458
' captures' :
459
459
' 2' :
460
460
' name' : ' keyword.operator.scala'
461
- ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(<-|←|->|→|=>|⇒|\\ ?|\\ :+|@| \\ | )+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
461
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(\\ + \\ +|:::| \\ +:|::|: \\ +| <-|←|->|→|=>|⇒|\\ ?|@ )+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
462
462
}
463
463
{
464
464
' captures' :
465
465
' 2' :
466
466
' name' : ' keyword.operator.assignment.scala'
467
- ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(=)([^!#%&*+\- /:<=>?@\\\\ ^|~])'
467
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(=|\\ +=|-=|\\ *=|\\ /=|%=|<<=|>>=|&=|\\ ^=|\\ |=)([^!#%&*+\- /:<=>?@\\\\ ^|~])'
468
+ }
469
+ {
470
+ ' captures' :
471
+ ' 2' :
472
+ ' name' : ' keyword.operator.arithmetic.scala'
473
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(\\ +|-|\\ *|\\ /|%)+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
474
+ }
475
+ {
476
+ ' captures' :
477
+ ' 2' :
478
+ ' name' : ' keyword.operator.logical.scala'
479
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])?(&&|\\ |\\ ||!)+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
480
+ }
481
+ {
482
+ ' captures' :
483
+ ' 2' :
484
+ ' name' : ' keyword.operator.bitwise.scala'
485
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])?(&|\\ ||\\ ^|~|<<|>>|>>>)+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
486
+ }
487
+ {
488
+ ' captures' :
489
+ ' 2' :
490
+ ' name' : ' keyword.operator.relational.scala'
491
+ ' match' : ' ([^!#%&*+\- /:<=>?@\\\\ ^|~_])(==|!=|<|>|<=|>=)+([^!#%&*+\- /:<=>?@\\\\ ^|~])'
468
492
}
469
493
]
470
494
' meta-brackets' :
You can’t perform that action at this time.
0 commit comments