From acfcfdbdabff9bed65024d3807ed3c53f5e3a29d Mon Sep 17 00:00:00 2001 From: EJ Date: Sun, 27 Aug 2023 16:06:41 -0400 Subject: [PATCH] feat(snippets): add match statement (#476) --- configurations/snippets.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configurations/snippets.json b/configurations/snippets.json index 5a2151bdb..de4adba12 100755 --- a/configurations/snippets.json +++ b/configurations/snippets.json @@ -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": [