summaryrefslogtreecommitdiff
path: root/etc/yasnippet/snippets
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-09-24 11:40:04 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-09-24 11:40:04 +0200
commit0e83b6d8bf24ac59f16ddd69d12ac4e08571cd25 (patch)
treeec882e52dc254a5a533e4f5d0a1acbe33e8d6575 /etc/yasnippet/snippets
parent9ab623d1c78a3e888a8a7d4bdf99d758973865f3 (diff)
Lots of new changes:
- Made .gitignore allow by default (rather than manually specifying what I want) - Dropped pre-built (non-versioned) TS grammars and use built-in ones - Upload custom snippets (lol 1)
Diffstat (limited to 'etc/yasnippet/snippets')
-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