summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new b/emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new
new file mode 100644
index 0000000..2f4a3c2
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/hmap.val-new
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : val m = new HashMap[K, V]
+# --
+val ${1:m} = new HashMap[${2:key}, ${3:value}] $0 \ No newline at end of file