From e24f418e3499afd1e9e529b8656a35376e69f52a Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 22 Oct 2024 11:07:59 +0300 Subject: initial commit --- home/dots/.emacs.d/snippets/go-mode/errnotnil | 5 +++++ home/dots/.emacs.d/snippets/go-mode/error | 7 +++++++ home/dots/.emacs.d/snippets/mhtml-mode/
..
~ | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100644 home/dots/.emacs.d/snippets/go-mode/errnotnil create mode 100644 home/dots/.emacs.d/snippets/go-mode/error create mode 100644 home/dots/.emacs.d/snippets/mhtml-mode/
..
~ (limited to 'home/dots/.emacs.d/snippets') diff --git a/home/dots/.emacs.d/snippets/go-mode/errnotnil b/home/dots/.emacs.d/snippets/go-mode/errnotnil new file mode 100644 index 0000000..0122e56 --- /dev/null +++ b/home/dots/.emacs.d/snippets/go-mode/errnotnil @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: err not nil +# key: ; +# -- +; err != nil \ No newline at end of file diff --git a/home/dots/.emacs.d/snippets/go-mode/error b/home/dots/.emacs.d/snippets/go-mode/error new file mode 100644 index 0000000..799e9f8 --- /dev/null +++ b/home/dots/.emacs.d/snippets/go-mode/error @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: error +# key: err@ +# -- +if err != nil { + $0 +} diff --git a/home/dots/.emacs.d/snippets/mhtml-mode/
..
~ b/home/dots/.emacs.d/snippets/mhtml-mode/
..
~ new file mode 100644 index 0000000..028d782 --- /dev/null +++ b/home/dots/.emacs.d/snippets/mhtml-mode/
..
~ @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name:
..
+# key:
+ $1 +
-- cgit v1.2.3