aboutsummaryrefslogtreecommitdiff
path: root/doom.d/snippets/csharp-mode/method
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d/snippets/csharp-mode/method')
-rw-r--r--doom.d/snippets/csharp-mode/method8
1 files changed, 8 insertions, 0 deletions
diff --git a/doom.d/snippets/csharp-mode/method b/doom.d/snippets/csharp-mode/method
new file mode 100644
index 0000000..a2aaf6b
--- /dev/null
+++ b/doom.d/snippets/csharp-mode/method
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: public void Method { ... }
+# key: method
+# --
+${1:public} ${2:void} ${3:Method}(${4:int x})
+{
+ ${0:return x;}
+}