This is a simple major mode for editing Elm in emacs. It is only compatible with elm version > 0.19.
elmo relies a lot on
project.el available in newer versions of emacs. Some
elmo provides are:
git initif it cannot find root.
elm makein root folder.
elm-stuffby default, so
project-find-regexpshows less garbage.
Also you are free to bind
project-find-file and friends.
elmo tries to be smart about indentation. However,
elm is a pretty
difficult language to indent, since it is whitespace sensitive.
indentation where it is easy to determine, but, you can still adjust with
backtab, like in conventional editors.
elmo provides some options for customization, however there are not too many
elm-indent-offset: Defaults to 4.
elm-compile-command: Defaults to
elm make src/Main.elm