Skip to content

Commit

Permalink
feat: highlight function- and struct arrow differently (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Nov 9, 2024
1 parent 9d706bf commit bdfc3e2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions syntaxes/flix.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,18 @@
},
{
"name": "keyword.symbols.flix",
"match": "(\\->|~>|<\\-|=>)"
"match": "(~>|<\\-|=>)"
},
{
"name": "keyword.operator.semicolon.flix",
"name": "keyword.arrow.function.flix",
"match": "(\\s\\->\\s|\\s\\->|\\->\\s)"
},
{
"name": "keyword.operator.arrow.struct.flix",
"match": "\\->"
},
{
"name": "keyword.control.semicolon.flix",
"match": ";"
},
{
Expand Down

0 comments on commit bdfc3e2

Please sign in to comment.