summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorfenuks <fenuks@protonmail.com>2018-04-18 01:59:16 +0200
committerfenuks <fenuks@protonmail.com>2018-04-18 02:28:17 +0200
commit6f6d35c0bdc1abea8639e7b32e677513034bb1ee (patch)
treef8863f5ca1f2aee322cce78a755d3c57292959a2 /autoload
parentf16384f323e34d0f555db4364b155bf1a03a5372 (diff)
downloadale-6f6d35c0bdc1abea8639e7b32e677513034bb1ee.zip
Add information that ALEFix can now accept arguments
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fix.vim3
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([])