Add erlang snippets.
This commit is contained in:
parent
7bd1acb57b
commit
49ccfb3791
21
autoload/neosnippet/snippets/erlang.snip
Normal file
21
autoload/neosnippet/snippets/erlang.snip
Normal file
@ -0,0 +1,21 @@
|
||||
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}.
|
Loading…
Reference in New Issue
Block a user