Skip to content

PerplexSystems/life.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIFE - LFE Interactive Frontend for Emacs

CIDER-like interactive development for LFE (Lisp Flavoured Erlang). A minor mode layered on lfe-mode: a REPL, inline evaluation, LSP, and rich highlighting.

images/screenshot.png

Requirements

  • Erlang/OTP, rebar3 (with the rebar3_lfe plugin)
  • Emacs packages: lfe-mode, eros (optionally lsp-mode)

Install

(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)

Keys

C-c M-jstart the REPL (rebar3 lfe repl)
C-c eeval the form before point, result inline
C-c C-reval the region
C-c C-kcompile & load the current file
C-c C-zjump to the REPL

LSP

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-ensure

lfe-ls needs the workspace to be a git repository.

License

This project respects your freedom. It is licensed under the GPLv3.

About

An LFE environment for GNU/Emacs using xrepl

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors