id: "erlang" aliases: - "erl" name: "Erlang" install: prepare: apt: - erlang-nox - erlang-dev apt: - erlang-nox - libodbc1 # workaround bug in APT manual: | install -d "${pkg}/usr/local/bin" wget https://s3.amazonaws.com/rebar3/rebar3 chmod +x rebar3 export PATH="$PWD:$PATH" git clone https://github.com/erlang-ls/erlang_ls.git pushd erlang_ls make cp _build/default/bin/erlang_ls "${pkg}/usr/local/bin/erlang_ls" popd repl: | erl input: | 123 * 234. main: "main.erl" template: | -module(main). -export([main/0]). main() -> io:fwrite("Hello, world!\n"). compile: | erl -compile main run: | erl -s main main scope: code: | -export([x/0]). x() -> 123 * 234. after: "-export([main/0])." input: | main:x(). lsp: start: | erlang_ls skip: - lsp