ale/ale_linters/swift/swiftlint.vim
David Mohundro 3418faf054 Add support for Swift with swiftlint (#214)
* Add support for swift with swiftlint

* Fix issue by adding '.swift' file extension
2016-12-13 15:28:20 +00:00

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