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