fix: broken ALE linter syntax (#147)

`call ale#linter#Define` renamed parameters:
> executable_callback -> executable
> command_callback -> command

Fixes #129.
This commit is contained in:
Birger J. Nordølum
2020-09-05 00:46:57 +02:00
committed by GitHub
parent c4053da882
commit bfc662d11b

View File

@@ -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,
\ })