aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/snippets/csharp-mode/foreach
diff options
context:
space:
mode:
Diffstat (limited to 'Doom/.doom.d/snippets/csharp-mode/foreach')
-rw-r--r--Doom/.doom.d/snippets/csharp-mode/foreach9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doom/.doom.d/snippets/csharp-mode/foreach b/Doom/.doom.d/snippets/csharp-mode/foreach
new file mode 100644
index 0000000..220fcd9
--- /dev/null
+++ b/Doom/.doom.d/snippets/csharp-mode/foreach
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+# name: Foreach loop
+# key: foreach
+# condition: t
+# --
+foreach (${1:var} ${2:i} in ${3:collection})
+{
+ $0
+}