Elm support for Sublime's LSP plugin.
Make sure you have NodeJS and NPM installed.
You will need to install elm
and elm-test
to get all diagnostics and elm-format
for formatting.
npm install -g elm elm-test elm-format
If you want to use elm-review:
npm install -g elm-review
- Install LSP, Elm Syntax Highlighting and
LSP-elm
from Package Control. - Restart Sublime.
Open configuration file using command palette with Preferences: LSP-elm Settings
command or by accessing Preferences > Package Settings > LSP > Servers > LSP-elm
from the sublime menu.
Visit elm-language-server for additional server configuration.