O'Reilly logo

Mastering Vim by Ruslan Osipov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Plugin spotlight – ALE

Asynchronous Lint Engine (ALE) is a more recent player on the field, but it's been getting nearly as much traction as Syntastic has. Its primary selling point is that ALE displays lint errors as you type, and it runs the linters asynchronously. ALE is available from GitHub at https://github.com/w0rp/ale.

If you're using vim-plug, you can install ALE by adding Plug 'w0rp/ale' to your .vimrc file and running :w | source $MYVIMRC | PlugInstall. ALE requires Vim 8+ or Neovim for asynchronous calls to work.

It's ready to be used out of the box, and the output looks very similar to Syntastic. Here's a screenshot of a file with ALE enabled (I've opened the location window using :lopen):

You can see the line with an error ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required