Skip to content

Commit

Permalink
Fixed a few definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Per-Steinar Karlsen <per-steinar.karlsen@skatteetaten.no>
  • Loading branch information
Per-Steinar Karlsen committed Dec 2, 2023
1 parent c8338dc commit d254c88
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions language-support/kotlin/kotlin.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@
},
{
"include": "#control-keywords"
},
{
"include": "#map-keywords"
}
]
},
Expand Down Expand Up @@ -404,7 +407,7 @@
]
},
"parameter-declaration": {
"match": "\\b(\\w+)\\s*(:)\\s*(\\w+)(\\?)?",
"match": "\\b(\\w+)\\s*(:)\\s*(\\w+)(\\?)?(,)?",
"captures": {
"1": {
"name": "variable.parameter.kotlin"
Expand All @@ -417,6 +420,9 @@
},
"4": {
"name": "keyword.operator.optional"
},
"5": {
"name": "punctuation.separator.delimiter.kotlin"
}
}
},
Expand Down Expand Up @@ -692,4 +698,4 @@
"name": "variable.language.this.kotlin"
}
}
}
}

0 comments on commit d254c88

Please sign in to comment.