#607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc

This commit is contained in:
w0rp 2017-06-01 21:08:43 +01:00
parent d5ae9b50ea
commit 0d3d5657ff

View File

@ -794,11 +794,13 @@ are supported for running the commands.
Synchronous functions and asynchronous jobs will be run in a sequence for
fixing files, and can be combined. For example:
>
let g:ale_fixers.javascript = [
let g:ale_fixers = {
\ 'javascript': [
\ 'DoSomething',
\ 'eslint',
\ {buffer, lines -> filter(lines, 'v:val !=~ ''^\s*//''')},
\]
\ ],
\}
ALEFix
<