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 116116 {
117117 "include" : " #character"
118118 },
119+ {
120+ "include" : " #lambda-arrow"
121+ },
119122 {
120123 "include" : " #operators"
121124 },
522525 "match" : " \\ bnull\\ b" ,
523526 "name" : " constant.language.null.kotlin"
524527 },
528+ "lambda-arrow" : {
529+ "match" : " ->" ,
530+ "name" : " storage.type.function.arrow.kotlin"
531+ },
525532 "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+ ]
528563 },
529564 "self-reference" : {
530565 "match" : " \\ b(this|super)(@\\ w+)?\\ b" ,
Original file line number Diff line number Diff line change 66 "brackets" : [
77 [" {" , " }" ],
88 [" [" , " ]" ],
9- [" (" , " )" ],
10- [" <" , " >" ]
9+ [" (" , " )" ]
1110 ],
1211 "autoClosingPairs" : [
1312 { "open" : " {" , "close" : " }" },
You can’t perform that action at this time.
0 commit comments