Permalink
Browse files

Add more snippets

  • Loading branch information...
1 parent 5f4dcb7 commit 867bff1e1d0be0fc5551937c8c72c9458b0c427e @brendanzab brendanzab committed Feb 6, 2013
Showing with 25 additions and 1 deletion.
  1. +6 −0 Err.sublime-snippet
  2. +6 −0 Ok.sublime-snippet
  3. +6 −0 Some.sublime-snippet
  4. +1 −1 fmt.sublime-snippet
  5. +6 −0 type.sublime-snippet
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[Err(${1})]]></content>
+ <tabTrigger>Err</tabTrigger>
+ <scope>source.rust</scope>
+ <description>Err(…)</description>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[Ok(${1})]]></content>
+ <tabTrigger>Ok</tabTrigger>
+ <scope>source.rust</scope>
+ <description>Ok(…)</description>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[Some(${1})]]></content>
+ <tabTrigger>Some</tabTrigger>
+ <scope>source.rust</scope>
+ <description>Some(…)</description>
+</snippet>
View
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[fmt!("${1}")]]></content>
- <tabTrigger>fmt</tabTrigger>
+ <tabTrigger>fmt!</tabTrigger>
<scope>source.rust</scope>
<description>fmt!("…")</description>
</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[type ${1} = ${2}]]></content>
+ <tabTrigger>type</tabTrigger>
+ <scope>source.rust</scope>
+ <description>type … = …</description>
+</snippet>

0 comments on commit 867bff1

Please sign in to comment.