summaryrefslogtreecommitdiff
path: root/snippets/simpc-mode/for-loop
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/simpc-mode/for-loop')
-rw-r--r--snippets/simpc-mode/for-loop8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/simpc-mode/for-loop b/snippets/simpc-mode/for-loop
new file mode 100644
index 0000000..0f4fece
--- /dev/null
+++ b/snippets/simpc-mode/for-loop
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: for-loop
+# key: ,f
+# --
+
+for (size_t ${1:i}; ${2:cond}; ${3:inc}) {
+ $0
+}