neosnippet.vim/autoload/neosnippet/snippets/erlang.snip

22 lines
335 B
Plaintext
Raw Normal View History

2013-07-14 19:37:00 +00:00
snippet helloworld
options head
main(_) -> io:format("Hello, world!\n").
snippet -module
options head
-module(${0:module}).
snippet -export
options head
-export([${0:f/1}]).
snippet ioformat
options word
io:format("${1:~w~n}"${2:, []})
snippet main
options head
main(_) -> ${0}.