From bfc662d11b3a006815d0b6972c1c0c2ebbc3b16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Sat, 5 Sep 2020 00:46:57 +0200 Subject: [PATCH] fix: broken ALE linter syntax (#147) `call ale#linter#Define` renamed parameters: > executable_callback -> executable > command_callback -> command Fixes #129. --- ale_linters/swift/swiftpm.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ale_linters/swift/swiftpm.vim b/ale_linters/swift/swiftpm.vim index 4599025..14efeb7 100644 --- a/ale_linters/swift/swiftpm.vim +++ b/ale_linters/swift/swiftpm.vim @@ -62,8 +62,8 @@ endfunction call ale#linter#Define('swift', { \ 'name': 'swiftpm', - \ 'executable_callback': 'ale_linters#swift#swiftpm#GetExecutable', - \ 'command_callback': 'ale_linters#swift#swiftpm#GetCommand', + \ 'executable': 'ale_linters#swift#swiftpm#GetExecutable', + \ 'command': 'ale_linters#swift#swiftpm#GetCommand', \ 'callback': 'ale_linters#swift#swiftpm#Handle', \ 'lint_file': 1, \ })