From 3418faf0541cb5ab11edab6f27b367a3849af4e6 Mon Sep 17 00:00:00 2001 From: David Mohundro Date: Tue, 13 Dec 2016 09:28:20 -0600 Subject: Add support for Swift with swiftlint (#214) * Add support for swift with swiftlint * Fix issue by adding '.swift' file extension --- ale_linters/swift/swiftlint.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/swift/swiftlint.vim (limited to 'ale_linters/swift') 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 +" 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', +\}) -- cgit v1.2.3