Syntax highlighting, auto-completion and lint for the Elm language extended with embedded HTML (elmx).
Note: while this package provides standalone support for elmx files, additional functionality such as auto-completion and linting require additional packages. If these packages are not installed this functionality will be disabled.
apm install language-elmx
language-elm
- required for auto-completion.linter-elm-make
- required for linting and in-place compilation.The elmx
grammar in this package is heavily inspired in the jsx
grammar from the react package and the html
grammar from the language-html package.
Linting is provided thanks to linter-elm-make, this package just pre-compiles the input .elmx
into .elm
and then updates the lint results.
Auto-completion is provided thanks to language-elm, this package just proxies the call to adjust file names.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.