From 6fc3ca4a2c9b876094f0d6a89b635f44d1362e40 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 16 Apr 2022 13:06:48 -0700 Subject: yas: elisp --- emacs/etc/snippets/emacs-lisp-mode/defun | 6 ++++++ emacs/etc/snippets/emacs-lisp-mode/format | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 emacs/etc/snippets/emacs-lisp-mode/defun create mode 100644 emacs/etc/snippets/emacs-lisp-mode/format (limited to 'emacs') diff --git a/emacs/etc/snippets/emacs-lisp-mode/defun b/emacs/etc/snippets/emacs-lisp-mode/defun new file mode 100644 index 0000000..1c1282b --- /dev/null +++ b/emacs/etc/snippets/emacs-lisp-mode/defun @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: function +# key: d +# -- +(defun $1 ($2) +$0) \ No newline at end of file diff --git a/emacs/etc/snippets/emacs-lisp-mode/format b/emacs/etc/snippets/emacs-lisp-mode/format new file mode 100644 index 0000000..2bd648f --- /dev/null +++ b/emacs/etc/snippets/emacs-lisp-mode/format @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: format +# key: f +# -- +(format "$1" $0) \ No newline at end of file -- cgit 1.4.1