diff options
Diffstat (limited to 'ale_linters/swift/swiftlint.vim')
-rw-r--r-- | ale_linters/swift/swiftlint.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/swift/swiftlint.vim b/ale_linters/swift/swiftlint.vim new file mode 100644 index 00000000..abbea0dd --- /dev/null +++ b/ale_linters/swift/swiftlint.vim @@ -0,0 +1,9 @@ +" 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', +\}) |