summaryrefslogtreecommitdiff
path: root/snippets/c-mode/for
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/c-mode/for')
-rw-r--r--snippets/c-mode/for8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/c-mode/for b/snippets/c-mode/for
new file mode 100644
index 00000000..e72b722a
--- /dev/null
+++ b/snippets/c-mode/for
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: for
+# key: <for
+# --
+
+for (int i = 0; i < ${1:max}; i++) {
+ $0
+}