#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
12
doc/ale.txt
12
doc/ale.txt
@ -794,11 +794,13 @@ are supported for running the commands.
|
|||||||
Synchronous functions and asynchronous jobs will be run in a sequence for
|
Synchronous functions and asynchronous jobs will be run in a sequence for
|
||||||
fixing files, and can be combined. For example:
|
fixing files, and can be combined. For example:
|
||||||
>
|
>
|
||||||
let g:ale_fixers.javascript = [
|
let g:ale_fixers = {
|
||||||
\ 'DoSomething',
|
\ 'javascript': [
|
||||||
\ 'eslint',
|
\ 'DoSomething',
|
||||||
\ {buffer, lines -> filter(lines, 'v:val !=~ ''^\s*//''')},
|
\ 'eslint',
|
||||||
\]
|
\ {buffer, lines -> filter(lines, 'v:val !=~ ''^\s*//''')},
|
||||||
|
\ ],
|
||||||
|
\}
|
||||||
|
|
||||||
ALEFix
|
ALEFix
|
||||||
<
|
<
|
||||||
|
Loading…
Reference in New Issue
Block a user