Fix rust for snippets
This commit is contained in:
parent
1327c1ba54
commit
8be99daa68
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user