Skip to content

Commit

Permalink
Update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed Jun 26, 2024
1 parent 12edcdf commit 5799664
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/noir.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,19 +229,19 @@
"patterns": [
{
"name": "keyword.control.nr",
"match": "\\b(fn|impl|trait|type|mod|use|struct|if|else|for|constrain)\\b"
"match": "\\b(fn|impl|trait|type|mod|use|struct|if|else|for)\\b"
},
{
"name": "keyword.nr",
"match": "\\b(global|comptime|unconstrained|unchecked|distinct|pub|call_data|return_data|&mut|mut|self|in|as|let)\\b"
"match": "\\b(global|comptime|quote|unsafe|unconstrained|distinct|pub|&mut|mut|self|in|as|let)\\b"
}
]
},
"input": {
"patterns": [
{
"name": "support.type.nr",
"match": "\\b((u|i)\\d+|str|bool|Field)\\b"
"match": "\\b((u|i)\\d+|str|bool|field|Field)\\b"
},
{
"name": "support.type.nr",
Expand Down

0 comments on commit 5799664

Please sign in to comment.