vimrc/sources_non_forked/vim-snippets/snippets/lfe.snippets

19 lines
300 B
Text
Raw Normal View History

2016-10-02 11:37:21 +00:00
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)