summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/whi
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/whi')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/whi6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/whi b/emacs.d/lisp/yasnippet/snippets/scala-mode/whi
new file mode 100644
index 0000000..082c139
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/whi
@@ -0,0 +1,6 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : while(cond) { .. }
+# --
+while (${1:condition}) {
+ $0
+} \ No newline at end of file