summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/yasnippet/snippets/java-mode/StringBuffer5
-rw-r--r--etc/yasnippet/snippets/java-ts-mode/.yas-parents1
2 files changed, 6 insertions, 0 deletions
diff --git a/etc/yasnippet/snippets/java-mode/StringBuffer b/etc/yasnippet/snippets/java-mode/StringBuffer
new file mode 100644
index 0000000..51287d1
--- /dev/null
+++ b/etc/yasnippet/snippets/java-mode/StringBuffer
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: StringBuffer
+# key: sb
+# --
+StringBuffer $1 = new StringBuffer($2); \ No newline at end of file
diff --git a/etc/yasnippet/snippets/java-ts-mode/.yas-parents b/etc/yasnippet/snippets/java-ts-mode/.yas-parents
new file mode 100644
index 0000000..f524c91
--- /dev/null
+++ b/etc/yasnippet/snippets/java-ts-mode/.yas-parents
@@ -0,0 +1 @@
+java-mode