From 0d3d5657ffd44336f27bc0c8360d35df89be6bb7 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 1 Jun 2017 21:08:43 +0100 Subject: #607 - Update the documentation for ale-fix to suggest an assignment which will work in vimrc --- doc/ale.txt | 12 +++++++----- 1 file 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 < -- cgit v1.2.3