Skip to content

Commit

Permalink
update snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenzek committed Mar 6, 2024
1 parent 7a0fe06 commit ed168ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Snippets/forvi.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<description>for statement with a value and an index</description>
<content><![CDATA[for ($1) |value, index| {
<content><![CDATA[for ($1, 0..) |value, index| {
$0
}]]></content>
<tabTrigger>forvi</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion Snippets/main.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<description>main pub function</description>
<content><![CDATA[pub fn main() void {
<content><![CDATA[pub fn main() !void {
$0
}]]></content>
<tabTrigger>main</tabTrigger>
Expand Down

0 comments on commit ed168ce

Please sign in to comment.