Skip to content

Commit

Permalink
Highlight discards as comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smercer10 authored and lpil committed May 20, 2024
1 parent 7ddaf90 commit 14170ef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion syntaxes/gleam.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
},
{
"include": "#entity"
},
{
"include": "#discards"
}
],
"repository": {
Expand Down Expand Up @@ -163,7 +166,11 @@
"match": "\\b([[:lower:]][[:word:]]*):"
}
]
},
"discards": {
"name": "comment.unused.gleam",
"match": "\\b_(?:[[:word:]]+)?\\b"
}
},
"scopeName": "source.gleam"
}
}

0 comments on commit 14170ef

Please sign in to comment.