summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ale.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index f206ffbe..2d08d68e 100644
--- a/doc/ale.txt
+++ b/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
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
<