Skip to content

Commit

Permalink
Feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Feb 18, 2024
1 parent 385f87d commit 9fd3bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vscode/syntaxes/toit.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@
},
{
"name": "entity.name.type.toit",
"match": "\\b(?<!-)_?[A-Z][0-9]*(?<!-)\\b[?]?"
"match": "\\b(?<!-)_?[A-Z][0-9]*_?(?<!-)\\b[?]?"
},
{
"name": "entity.name.type.shorts.toit",
Expand Down
2 changes: 1 addition & 1 deletion vscode/syntaxes/toit.tmLanguage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ repository:
- name: entity.name.type.toit
match: \b(?<!-)_?[A-Z][A-Z_-]*[a-z][\w-]*(?<!-)\b[?]?
- name: entity.name.type.toit
match: \b(?<!-)_?[A-Z][0-9]*(?<!-)\b[?]?
match: \b(?<!-)_?[A-Z][0-9]*_?(?<!-)\b[?]?
- name: entity.name.type.shorts.toit
match: \b(?<!-)(int|bool|float|string)(?<!-)\b[?]?
- name: entity.name.type.any_none.toit
Expand Down

0 comments on commit 9fd3bb4

Please sign in to comment.