Explain * for fixers in the README better

This commit is contained in:
w0rp 2018-08-13 11:38:43 +01:00
parent 04b25c8ee2
commit 5323f000aa
No known key found for this signature in database
GPG key ID: 0FC1ECAA8C81CD83

View file

@ -232,10 +232,12 @@ let b:ale_fixers = {'javascript': ['prettier', 'eslint']}
``` ```
You can also configure your fixers from vimrc using `g:ale_fixers`, before or You can also configure your fixers from vimrc using `g:ale_fixers`, before or
after ALE has been loaded. A `*` in place of the filetype will apply the after ALE has been loaded.
corresponding list of fixers to all filetypes. If a subsequent specific filetype
match is found it will be used instead of `*`. Note that using a plain list for A `*` in place of the filetype will apply a List of fixers to all files which
`g:ale_fixers` is not supported. do not match some filetype in the Dictionary.
Note that using a plain List for `g:ale_fixers` is not supported.
```vim ```vim
" In ~/.vim/vimrc, or somewhere similar. " In ~/.vim/vimrc, or somewhere similar.