summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/tr.ext-with
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/scala-mode/tr.ext-with')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/tr.ext-with6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/tr.ext-with b/emacs.d/snippets/text-mode/scala-mode/tr.ext-with
new file mode 100644
index 0000000..8edb409
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/tr.ext-with
@@ -0,0 +1,6 @@
+#Author : Anders Bach Nielsen <andersbach.nielsen@epfl.ch>
+#name : trait T1 extends C with T2 { .. }
+# --
+trait ${1:name} extends ${2:class} with ${3:trait} {
+ $0
+} \ No newline at end of file