Skip to content

Commit

Permalink
add switch/else snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenzek committed Mar 6, 2024
1 parent b0ee52b commit 7a0fe06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Snippets/switch_else.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<description>switch/else statement</description>
<content><![CDATA[switch (${1:value}) {
else => |${2:val}| ${3:val},
}]]></content>
<tabTrigger>switchelse</tabTrigger>
<scope>source.zig</scope>
</snippet>

0 comments on commit 7a0fe06

Please sign in to comment.