diff options
author | fenuks <fenuks@protonmail.com> | 2018-04-18 01:59:16 +0200 |
---|---|---|
committer | fenuks <fenuks@protonmail.com> | 2018-04-18 02:28:17 +0200 |
commit | 6f6d35c0bdc1abea8639e7b32e677513034bb1ee (patch) | |
tree | f8863f5ca1f2aee322cce78a755d3c57292959a2 /autoload | |
parent | f16384f323e34d0f555db4364b155bf1a03a5372 (diff) | |
download | ale-6f6d35c0bdc1abea8639e7b32e677513034bb1ee.zip |
Add information that ALEFix can now accept arguments
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fix.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/autoload/ale/fix.vim b/autoload/ale/fix.vim index 066ae1af..03855ef8 100644 --- a/autoload/ale/fix.vim +++ b/autoload/ale/fix.vim @@ -356,8 +356,7 @@ function! s:RunFixer(options) abort call ale#fix#ApplyFixes(l:buffer, l:input) endfunction -function! s:GetCallbacks(linters) abort -function! s:GetCallbacks(buffer) abort +function! s:GetCallbacks(buffer, linters) abort if len(a:linters) let l:callback_list = a:linters elseif type(get(b:, 'ale_fixers')) is type([]) |