Asynchronous linting, fixing and LSP support for Vim and Neovim
open sourceBSD-2-Clausefree
ALE (Asynchronous Lint Engine) is a BSD-2-Clause plugin for Vim 8.2+ and Neovim 0.7.0+ that runs linters on your buffers as you type, using the editors' job control and timers, so warnings and errors show before you save. :ALEFix fixes files with command-line tools such as prettier, eslint and autopep8 without blocking the editor. It's also a Language Server Protocol client, with diagnostics, go to definition, completion, references, hover and symbol search, and it has no dependencies of its own.
Ways to install
Package managers
Problems it solves
- see lint errors in Vim as I type instead of after saving
- run prettier and eslint on my files from inside Vim
- a language server client for Vim without extra dependencies
Features
- linting while you type, before saving
- non-blocking fixing with :ALEFix
- LSP client: diagnostics, go to definition, completion, references, hover
- no dependencies of its own
Limitations
- Needs Vim 8.2+ or Neovim 0.7.0+.2
Alternatives
The same job
These do what ALE (Asynchronous Lint Engine) does.
- nvim-lspconfig Ready-made language server configs for Neovim's built-in LSP client
- coc.nvim VS Code-like completion, diagnostics and language servers for Vim and Neovim
- YouCompleteMe Fast as-you-type fuzzy code completion and refactoring engine for Vim
- Helix Post-modern modal text editor for the terminal
- Error Lens Shows errors and warnings inline at the end of the line in VS Code, with the whole line highlighted
