From 1d86e2e1c67e0c953271ade3cec5cd6f80b6f051 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 9 Sep 2016 18:20:10 +0100 Subject: [PATCH] LFE snippets --- snippets/lfe.snippets | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 snippets/lfe.snippets diff --git a/snippets/lfe.snippets b/snippets/lfe.snippets new file mode 100644 index 0000000..b716e6e --- /dev/null +++ b/snippets/lfe.snippets @@ -0,0 +1,18 @@ +snippet defmo + (defmodule ${1:`vim_snippets#Filename()`} + (export ${2:all})) + $0 +snippet def + (defun $1 ($2) + $0) +snippet ltest + (defmodule ${1:`vim_snippets#Filename()`} + (behaviour ltest-unit) + (export all)) + + (include-lib "ltest/include/ltest-macros.lfe") + + $0 +snippet test + (deftest $1 + $0)