LFE snippets

This commit is contained in:
Louis Pilfold 2016-09-09 18:20:10 +01:00
parent 744a18ffff
commit 1d86e2e1c6

18
snippets/lfe.snippets Normal file
View File

@ -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)