Skip to content

Commit

Permalink
feat: add new keywords (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Jun 28, 2024
1 parent ba1ab74 commit 4c67fc9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion syntaxes/flix.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
"name": "keyword.control.par.flix",
"match": "\\b(par)\\b"
},
{
"name": "keyword.control.unsafe.flix",
"match": "\\b(unsafe)\\b"
},
{
"name": "keyword.control.ast.flix",
"match": "\\b(branch|jumpto)\\b"
Expand All @@ -119,9 +123,13 @@
"name": "keyword.operator.fix.flix",
"match": "\\bfix\\b"
},
{
"name": "keyword.operator.new.flix",
"match": "\\b(new)\\b"
},
{
"name": "keyword.declaration.flix",
"match": "\\b(eff|def|law|enum|case|type|alias|trait|instance|with|without|opaque|mod)\\b"
"match": "\\b(eff|def|law|enum|case|type|alias|trait|instance|with|without|opaque|mod|struct)\\b"
},
{
"name": "keyword.expression.cast.flix",
Expand Down

0 comments on commit 4c67fc9

Please sign in to comment.