3418faf054
* Add support for swift with swiftlint * Fix issue by adding '.swift' file extension
9 lines
297 B
VimL
9 lines
297 B
VimL
" Author: David Mohundro <david@mohundro.com>
|
|
" Description: swiftlint for swift files
|
|
|
|
call ale#linter#Define('swiftlint', {
|
|
\ 'name': 'swiftlint',
|
|
\ 'executable': 'swiftlint',
|
|
\ 'command': g:ale#util#stdin_wrapper . ' .swift swiftlint',
|
|
\ 'callback': 'ale#handlers#HandleGCCFormat',
|
|
\})
|