Skip to content

Commit

Permalink
feat(snippets): add match statement (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddawik authored Aug 27, 2023
1 parent 4e486e3 commit acfcfdb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configurations/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@
]
},

"match": {
"prefix": "match",
"body": [
"match ${1:expression}:\n\t${2:pattern}:\n\t\t${3}\n\t_:\n\t\t${0:default}"
]
},

"signal declaration": {
"prefix": "signal",
"body": [
Expand Down

0 comments on commit acfcfdb

Please sign in to comment.