aboutsummaryrefslogtreecommitdiff
path: root/doom.d/snippets/csharp-mode/foreach
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d/snippets/csharp-mode/foreach')
-rw-r--r--doom.d/snippets/csharp-mode/foreach9
1 files changed, 9 insertions, 0 deletions
diff --git a/doom.d/snippets/csharp-mode/foreach b/doom.d/snippets/csharp-mode/foreach
new file mode 100644
index 0000000..220fcd9
--- /dev/null
+++ b/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
+}