Simpler elm editing in emacs
Add indent rule for then
Remove some elmo traces

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~theo/elm-mode
read/write
ssh://hg@hg.sr.ht/~theo/elm-mode

#elm-mode.el - Edit Elm source code in emacs

This is a simple major mode for editing Elm in emacs. It is only compatible with elm version > 0.19.

#Features

#Integration with Elm tooling

Binding Name
C-c C-z elm-repl
C-c C-c elm-make
C-c C-r elm-reactor

#Indentation

elm-mode tries to be smart about indentation. However, elm is a pretty difficult language to indent, since it is whitespace sensitive. elm-mode offers indentation where it is easy to determine, but, you can still adjust with tab and backtab, like in conventional editors.

#Customization

elm-mode provides some options for customization, however there are not too many yet.

  • elm-indent-offset: Defaults to 4.

#Bugs

Yes.