summaryrefslogtreecommitdiff
path: root/emacs/snippets/c-mode/for
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/snippets/c-mode/for')
-rw-r--r--emacs/snippets/c-mode/for7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/snippets/c-mode/for b/emacs/snippets/c-mode/for
new file mode 100644
index 0000000..6017e19
--- /dev/null
+++ b/emacs/snippets/c-mode/for
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: for
+# key: for
+# --
+for (u64 ${1:i} = 0; $1 < $2; ++$1) {
+ $0
+} \ No newline at end of file