ALE

Fangrui Song 2019-10-12 21:11:56 -07:00
parent bf7ecc9ab1
commit 4e24b3e236

2
ALE.md

@ -1,5 +1,7 @@
Install [ALE](https://github.com/w0rp/ale) following its README.
ALE locates `.ccls-root` to set up the project root, see https://github.com/dense-analysis/ale/blob/master/autoload/ale/handlers/ccls.vim
ALE automatically loads all available linters and LSP clients for the filetype so, if `ccls` is correctly installed, it should work out-of-the-box. Moreover, ALE will automatically detect the root folder of your project.
To set init options for `ccls`, add to `~/.vimrc` or `~/.vim/vimrc` (example for `cpp` files, set other filetypes as needed):