CIDER-like interactive development for LFE (Lisp Flavoured Erlang). A
minor mode layered on lfe-mode: a REPL, inline evaluation, LSP, and
rich highlighting.
- Erlang/OTP,
rebar3(with therebar3_lfeplugin) - Emacs packages:
lfe-mode,eros(optionallylsp-mode)
(add-to-list 'load-path "/path/to/life.el")
(require 'life) ;; loads every life-* module
(add-hook 'lfe-mode-hook #'life-mode)
(add-hook 'lfe-mode-hook #'life-theme-enable)| C-c M-j | start the REPL (rebar3 lfe repl) |
| C-c e | eval the form before point, result inline |
| C-c C-r | eval the region |
| C-c C-k | compile & load the current file |
| C-c C-z | jump to the REPL |
Build lfe-ls, then:
(setq life-lsp-server-path "/path/to/lfe-ls/_build/prod/bin/lfe-ls")
(add-hook 'lfe-mode-hook #'lsp) ;; or #'eglot-ensurelfe-ls needs the workspace to be a git repository.
This project respects your freedom. It is licensed under the GPLv3.
