From 8be99daa68442be0953800f1cda1d82cd63ffcd0 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 17 May 2015 19:55:08 +0100 Subject: [PATCH] Fix rust for snippets --- UltiSnips/rust.snippets | 2 +- snippets/rust.snippets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UltiSnips/rust.snippets b/UltiSnips/rust.snippets index a27d6fa..4a65d77 100644 --- a/UltiSnips/rust.snippets +++ b/UltiSnips/rust.snippets @@ -59,7 +59,7 @@ mod ${1:`!p snip.rv = snip.basename.lower() or "name"`} { endsnippet snippet for "for .. in .." b -for ${1:i} in ${2:${3:0us}..${4:10}} { +for ${1:i} in ${2} { ${VISUAL}${0} } endsnippet diff --git a/snippets/rust.snippets b/snippets/rust.snippets index 77e5132..c273f53 100644 --- a/snippets/rust.snippets +++ b/snippets/rust.snippets @@ -111,7 +111,7 @@ snippet while "while loop" ${0} } snippet for "for ... in ... loop" - for ${1:i} in ${2:0u..10} { + for ${1:i} in ${2} { ${0} } # TODO commenting