mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-15 10:32:42 +08:00
#607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc
This commit is contained in:
1 parent
d5ae9b50ea
commit
0d3d5657ff
1 file changed
+7
-5
+7
-5
@@ -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 = [
|
||||
\ 'DoSomething',
|
||||
\ 'eslint',
|
||||
\ {buffer, lines -> filter(lines, 'v:val !=~ ''^\s*//''')},
|
||||
\]
|
||||
let g:ale_fixers = {
|
||||
\ 'javascript': [
|
||||
\ 'DoSomething',
|
||||
\ 'eslint',
|
||||
\ {buffer, lines -> filter(lines, 'v:val !=~ ''^\s*//''')},
|
||||
\ ],
|
||||
\}
|
||||
|
||||
ALEFix
|
||||
<
|
||||
|
||||
Reference in new issue
Block a user