I've installed dense-analysis/ale from this repo: https://github.com/dense-analysis/ale
I'm trying to use it to detect errors automatically in my Elm projects.
Errors are detected since they are highlighted with a ">>" in red. However, since my source file is pretty long, it's impossible for me to know immediately whether there's an error or not.
A solution should be to type :cn
to jump to the next error. But then I just get the reply "E42: No Error". And it doesn't jump to the error, even when there's an error in the file.
I'd like to be notified immediately when there's an error, or, alternatively, be able to check with a simple command like :cn
.
How to achieve that?
My setup:
- vim version 8.2
- elm version 0.19.1
- elm-language-server version 2.4.1
- elm-format 0.8.5
- ALE v3.2.0 (I actually just cloned the project into my .vim/bundle directory)
ALENext
is working, thank you!