Commit Graph

14 Commits

Author SHA1 Message Date
Georgios Samaras
1ac7329ff6 Fixed typo in rust fix 2016-02-12 22:09:12 +01:00
Georgios Samaras
db5f46439f Fixed let/letm snippet for Rust files.
When expanding the `let` pattern, one would end up with something like "let I: I${4:type} = I;" (I representing the cursor jump marks), so the nested jump marks are inserted literally.
I fixed that unwanted behaviour by replacing the `let` and `letm` patterns by `let` (for immutable variable bindings with type inference), `lett` (for immutable variable bindings with explicit type annotation), `letm` (for mutable variable bindings with type inference) and `lettm` (for mutable variable bindings with explicit type annotation).
2016-02-12 22:05:04 +01:00
Louis Pilfold
af3c2d3f66 Rust: pub fn, correct while trigger 2015-08-02 12:56:59 +01:00
Louis Pilfold
8be99daa68 Fix rust for snippets 2015-05-17 19:55:27 +01:00
Ches Martin
928eb95c72 rust: proc() syntax obsolete, thread not in prelude 2015-03-01 18:01:55 -05:00
Ches Martin
16211fe728 Significant newlines, ugh 2015-03-01 17:42:19 -05:00
Ches Martin
ac477f8522 rust: case clause snippet for pattern matches 2015-03-01 07:29:03 -05:00
Ches Martin
982f347238 rust: Fix nesting for impl snippet in SM/US 2015-02-28 21:15:58 -05:00
Ches Martin
f2929081b1 Update Rust snippets
Add descriptions to Snipmate snippets, update some snippets for
changed/deprecated Rust features, add some new bits.
2015-02-28 20:21:04 -05:00
Louis Pilfold
0ac57c7779 Rust: change from uint to new usize type 2015-01-11 01:58:57 +00:00
Louis Pilfold
69d3b5e02e Remove a load of duplication from Rust snippets 2015-01-11 01:57:32 +00:00
Louis Pilfold
18733185c1 Update Rust for to use new range syntax 2015-01-11 01:41:41 +00:00
Michael Gehring
2f5af90bc7 Update rust snippets 2014-09-02 20:37:58 +02:00
Louis
9d8a666fb9 Add snipmate style rust snippets 2014-05-05 17:49:52 +02:00