Add R for and while snippets

This commit is contained in:
r4d2 2014-04-24 21:14:50 -04:00
parent 5edbfec786
commit 74ef5cbd44

View File

@ -23,6 +23,16 @@ snippet ei
${0}
}
# loops
snippet wh
while(${1}) {
${2}
}
snippet for
for (${1:item} in ${2:list}) {
${3}
}
# functions
snippet fun
${1:name} = function (${2:variables}) {