summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/pri
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/pri4
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/pri.param4
2 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/pri b/emacs.d/lisp/yasnippet/snippets/scala-mode/pri
new file mode 100644
index 0000000..643ef2c
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/pri
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : private
+# --
+private $0 \ No newline at end of file
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/pri.param b/emacs.d/lisp/yasnippet/snippets/scala-mode/pri.param
new file mode 100644
index 0000000..e53638a
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/pri.param
@@ -0,0 +1,4 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : private[this]
+# --
+private[${1:this}] $0 \ No newline at end of file