This plugin adds support for linting through ALE with elm-analyse.
Package Manager | Command |
---|---|
Vim-Plug | Plug 'antew/vim-elm-analyse' |
Vundle | Plugin 'antew/vim-elm-analyse' |
Pathogen | cd ~/.vim/bundle |
NOTE: This project currently requires a fork of elm-analyse.
I recommend installing it globally, npm i -g antew/elm-analyse#lsp
For more info see here
You can allow ALE to use a globally installed versions of elm-analyse
with
let g:ale_elm_analyse_use_global = 1
Or, you can configure ALE to use a globally installed version for all executables.
let g:ale_use_global_executables = 1
Create an elm-analyse.json
file in the root of your project and add your customizations.
{
"checks" : {
"UnusedTypeAlias": false
}
}
See the Elm Analyse documentation for additional configuration options.