#607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc
This commit is contained in:
parent
d5ae9b50ea
commit
0d3d5657ff
@ -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
|
||||
<
|
||||
|
Loading…
Reference in New Issue
Block a user