This is a plugin to build a certain workflow when working on an elm project.
Features:
- bindings to navigate the compiler output
- better syntax highlighting of the cited code
- jump to the source of the cited code
- insert type annotations for functions
This also contains mappings I use for all my elm projects, because I'm the only one using this plugin anyway :-)
<leader>amcompiles src/Main.elm to index.html, creates thecompiler.elmcbuffer and puts the output ofelm-makethere.<leader>ajdoes the sames but makes a app.js instead of index.html file.<leader>6takes you to the first error ofcompiler.elmcon a line wheregfcan be used to go to the source file.[[and]]jump to section comments in .elm files and errors in the .elmc buffer- there a few more, just take a look in the files in ftplugin/