about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/snippets/java-mode
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/snippets/java-mode')
-rw-r--r--configs/shared/.emacs.d/snippets/java-mode/.yas-parents1
-rw-r--r--configs/shared/.emacs.d/snippets/java-mode/public-static-void-main7
2 files changed, 8 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/snippets/java-mode/.yas-parents b/configs/shared/.emacs.d/snippets/java-mode/.yas-parents
new file mode 100644
index 000000000000..d58dacb7a0b1
--- /dev/null
+++ b/configs/shared/.emacs.d/snippets/java-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
\ No newline at end of file
diff --git a/configs/shared/.emacs.d/snippets/java-mode/public-static-void-main b/configs/shared/.emacs.d/snippets/java-mode/public-static-void-main
new file mode 100644
index 000000000000..1839a27eb5c0
--- /dev/null
+++ b/configs/shared/.emacs.d/snippets/java-mode/public-static-void-main
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: public static void main
+# key: psvm
+# --
+public static void main(String[] args) {
+    $1
+}
\ No newline at end of file