diff options
author | David Mohundro <drmohundro@gmail.com> | 2016-12-13 09:28:20 -0600 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2016-12-13 15:28:20 +0000 |
commit | 3418faf0541cb5ab11edab6f27b367a3849af4e6 (patch) | |
tree | 0a2f40d9ac0bce0d7c0cfb233abc401606650aa7 /ale_linters/swift/swiftlint.vim | |
parent | 10777d3421e3cbe942a4d9519f96a798c4ae42b4 (diff) | |
download | ale-3418faf0541cb5ab11edab6f27b367a3849af4e6.zip |
Add support for Swift with swiftlint (#214)
* Add support for swift with swiftlint
* Fix issue by adding '.swift' file extension
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', +\}) |