about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/snippets/emacs-lisp-mode/function
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/snippets/emacs-lisp-mode/function')
-rw-r--r--configs/shared/.emacs.d/snippets/emacs-lisp-mode/function8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/snippets/emacs-lisp-mode/function b/configs/shared/.emacs.d/snippets/emacs-lisp-mode/function
new file mode 100644
index 000000000000..bfa888d5265d
--- /dev/null
+++ b/configs/shared/.emacs.d/snippets/emacs-lisp-mode/function
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# name: Function
+# key: fn
+# expand-env: ((yas-indent-line 'fixed))
+# --
+(defun $1 ($2)
+  "$3"
+  $4)
\ No newline at end of file