summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/val
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/val4
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/val.new4
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/val.ret4
3 files changed, 12 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/val b/emacs.d/snippets/text-mode/scala-mode/val
new file mode 100644
index 0000000..3067cd4
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/val
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : val name = ..
+# --
+val ${1:name} = ${2:obj} $0 \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/scala-mode/val.new b/emacs.d/snippets/text-mode/scala-mode/val.new
new file mode 100644
index 0000000..35a0c6a
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/val.new
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : val name = new ..
+# --
+val ${1:name} = new ${2:obj} $0 \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/scala-mode/val.ret b/emacs.d/snippets/text-mode/scala-mode/val.ret
new file mode 100644
index 0000000..4bf4f10
--- /dev/null
+++ b/emacs.d/snippets/text-mode/scala-mode/val.ret
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : val name: T = ..
+# --
+val ${1:name}: ${2:T} = ${3:obj} $0