diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-01 21:08:43 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-01 21:08:43 +0100 |
commit | 0d3d5657ffd44336f27bc0c8360d35df89be6bb7 (patch) | |
tree | 766c37570b20f8ba86856f1f6ce9adb99e1f1f43 | |
parent | d5ae9b50eacc8560ab95dfc3105ce3e40696e1ff (diff) | |
download | ale-0d3d5657ffd44336f27bc0c8360d35df89be6bb7.zip |
#607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc
-rw-r--r-- | doc/ale.txt | 12 |
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 < |