summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/def.arg-body
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/scala-mode/def.arg-body')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/def.arg-body6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/def.arg-body b/emacs.d/snippets/text-mode/scala-mode/def.arg-body
new file mode 100644
index 0000000..e6e278e
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/def.arg-body
@@ -0,0 +1,6 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : def f(arg: T) = {...}
+# --
+def ${1:name}(${2:args}) = {
+ $0
+} \ No newline at end of file