Skip to content

Commit 74ef5cb

Browse files
committed
Add R for and while snippets
1 parent 5edbfec commit 74ef5cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

snippets/r.snippets

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ snippet ei
2323
${0}
2424
}
2525

26+
# loops
27+
snippet wh
28+
while(${1}) {
29+
${2}
30+
}
31+
snippet for
32+
for (${1:item} in ${2:list}) {
33+
${3}
34+
}
35+
2636
# functions
2737
snippet fun
2838
${1:name} = function (${2:variables}) {

0 commit comments

Comments
 (0)