Erlang
erlang-mode
supports:
- syntax highlighting
- REPL:
M-x run-erlang
- once started, it uses its own
run-erlang-mode
major mode.
- once started, it uses its own
- send and eval region (async):
C-c C-r
akaM-x erlang-eval-region
. - LSP support
Erlang mode will connect to your local ELP Erlang Language Platform installation.
Configure the ELP binary’s location by setting *lsp-elang-elp-server-path*
:
(defvar lem-erlang-mode::*lsp-erlang-elp-server-path*
(uiop:native-namestring "/usr/local/bin/elp")
"Adapt to your system's ELP path.")
Currently, Erlang mode does not add any LSP features on its own. The integration is experimental with the purpose of figuring out how to use the existing Lem/LSP features and how to add Erlang specific features.