Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DanielGavin/ols
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGavin committed Apr 12, 2024
2 parents f96dd92 + b042f1f commit f4f3727
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions editors/vscode/syntaxes/odin.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"type-assignment": {
"name": "meta.definition.variable.odin",
"begin": "\\b([A-Za-z_]\\w*)\\s*(:\\s*:)\\s*(?=(struct|union|enum|bit_set)\\b)",
"begin": "\\b([A-Za-z_]\\w*)\\s*(:\\s*:)\\s*(?=(struct|union|enum|bit_set|bit_field)\\b)",
"beginCaptures": {
"1": { "name": "entity.name.type.odin" },
"2": { "name": "keyword.operator.assignment.odin" },
Expand Down Expand Up @@ -142,7 +142,7 @@
"patterns": [
{ "include": "#map-bitset" },
{
"begin": "\\b(proc|struct|union|enum)\\b",
"begin": "\\b(proc|struct|union|enum|bit_field)\\b",
"beginCaptures": { "1": { "name": "storage.type.odin" } },
"end": "(?=^|\\)|,|;)|(?<=})",
"patterns": [
Expand Down Expand Up @@ -408,7 +408,7 @@
},
{
"name": "storage.type.odin",
"match": "\\b(struct|enum|union|map|bit_set|matrix)\\b"
"match": "\\b(struct|enum|union|map|bit_set|bit_field|matrix)\\b"
},
{
"name": "keyword.operator.assignment.compound",
Expand Down

0 comments on commit f4f3727

Please sign in to comment.