Skip to content

Commit

Permalink
Allow brackets in return type (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
inferrna authored Dec 9, 2024
1 parent 4e36b53 commit fe82626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/vscode-ext/syntaxes/lobster.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"name": "punctuation.definition.parameters.begin.lobster"
}
},
"end": "\\)(?:\\s*->\\s*)?([A-Za-z_][A-Za-z0-9_, ]*[A-Za-z_]*)?:",
"end": "\\)(?:\\s*->\\s*)?(\\[?[A-Za-z_][A-Za-z0-9_, ]*[A-Za-z_]*\\]?)?:",
"endCaptures": {
"0": {
"name": "punctuation.definition.parameters.end.lobster"
Expand Down

0 comments on commit fe82626

Please sign in to comment.