File tree Expand file tree Collapse file tree 2 files changed +38
-4
lines changed Expand file tree Collapse file tree 2 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 116
116
{
117
117
"include" : " #character"
118
118
},
119
+ {
120
+ "include" : " #lambda-arrow"
121
+ },
119
122
{
120
123
"include" : " #operators"
121
124
},
522
525
"match" : " \\ bnull\\ b" ,
523
526
"name" : " constant.language.null.kotlin"
524
527
},
528
+ "lambda-arrow" : {
529
+ "match" : " ->" ,
530
+ "name" : " storage.type.function.arrow.kotlin"
531
+ },
525
532
"operators" : {
526
- "match" : " <=|>=|===|==|=>|=|\\ !==|\\ !=|\\ +=|\\ +\\ +|\\ +|-=|--|-|\\ *=|\\ *|/=|/|%=|%|!|\\ &\\ &|\\ &|\\ |\\ ||\\ |.." ,
527
- "name" : " keyword.operator.kotlin"
533
+ "patterns" : [
534
+ {
535
+ "match" : " (===?|\\ !==?|<=|>=|<|>)" ,
536
+ "name" : " keyword.operator.comparison.kotlin"
537
+ },
538
+ {
539
+ "match" : " ([+*/%-]=)" ,
540
+ "name" : " keyword.operator.assignment.arithmetic.kotlin"
541
+ },
542
+ {
543
+ "match" : " (=)" ,
544
+ "name" : " keyword.operator.assignment.kotlin"
545
+ },
546
+ {
547
+ "match" : " ([+*/%-])" ,
548
+ "name" : " keyword.operator.arithmetic.kotlin"
549
+ },
550
+ {
551
+ "match" : " (!|&&|\\ |\\ |)" ,
552
+ "name" : " keyword.operator.logical.kotlin"
553
+ },
554
+ {
555
+ "match" : " (--|\\ +\\ +)" ,
556
+ "name" : " keyword.operator.increment-decrement.kotlin"
557
+ },
558
+ {
559
+ "match" : " (\\ .\\ .)" ,
560
+ "name" : " keyword.operator.range.kotlin"
561
+ }
562
+ ]
528
563
},
529
564
"self-reference" : {
530
565
"match" : " \\ b(this|super)(@\\ w+)?\\ b" ,
Original file line number Diff line number Diff line change 6
6
"brackets" : [
7
7
[" {" , " }" ],
8
8
[" [" , " ]" ],
9
- [" (" , " )" ],
10
- [" <" , " >" ]
9
+ [" (" , " )" ]
11
10
],
12
11
"autoClosingPairs" : [
13
12
{ "open" : " {" , "close" : " }" },
You can’t perform that action at this time.
0 commit comments