summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/pri
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/pri4
-rw-r--r--emacs.d/snippets/text-mode/scala-mode/pri.param4
2 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/scala-mode/pri b/emacs.d/snippets/text-mode/scala-mode/pri
new file mode 100644
index 0000000..643ef2c
--- /dev/null
+++ b/emacs.d/snippets/text-mode/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/snippets/text-mode/scala-mode/pri.param b/emacs.d/snippets/text-mode/scala-mode/pri.param
new file mode 100644
index 0000000..e53638a
--- /dev/null
+++ b/emacs.d/snippets/text-mode/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