Skip to content

Commit

Permalink
Update to latest syntax file (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 23, 2024
1 parent 5170dc7 commit c850fb1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions editors/code/syntaxes/Luau.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
},
{
"include": "#type_annotation"
},
{
"include": "#attribute"
}
],
"repository": {
Expand Down Expand Up @@ -150,6 +153,9 @@
{
"include": "#comment"
},
{
"include": "#attribute"
},
{
"begin": "(:)",
"beginCaptures": {
Expand Down Expand Up @@ -749,6 +755,22 @@
]
}
]
},
"attribute": {
"patterns": [
{
"name": "meta.attribute.luau",
"match": "(@)([a-zA-Z_][a-zA-Z0-9_]*)",
"captures": {
"1": {
"name": "keyword.operator.attribute.luau"
},
"2": {
"name": "storage.type.attribute.luau"
}
}
}
]
}
}
}

0 comments on commit c850fb1

Please sign in to comment.