summaryrefslogtreecommitdiff
path: root/ale_linters/swift/swiftlint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/swift/swiftlint.vim')
-rw-r--r--ale_linters/swift/swiftlint.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/swift/swiftlint.vim b/ale_linters/swift/swiftlint.vim
index abbea0dd..aaa77a9f 100644
--- a/ale_linters/swift/swiftlint.vim
+++ b/ale_linters/swift/swiftlint.vim
@@ -1,9 +1,9 @@
" Author: David Mohundro <david@mohundro.com>
" Description: swiftlint for swift files
-call ale#linter#Define('swiftlint', {
+call ale#linter#Define('swift', {
\ 'name': 'swiftlint',
\ 'executable': 'swiftlint',
-\ 'command': g:ale#util#stdin_wrapper . ' .swift swiftlint',
+\ 'command': 'swiftlint lint --use-stdin',
\ 'callback': 'ale#handlers#HandleGCCFormat',
\})