summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-01-19 13:23:46 +0000
committerGitHub <noreply@github.com>2017-01-19 13:23:46 +0000
commit2478d7d92552c3381b757ec432aa0c92d945af4d (patch)
tree594c4357cbbee476cba8e8022163caf3b70c9462 /ale_linters
parent1560f4ce0375b6d0d50a6b6d0588562f7acb43de (diff)
parent62b492c727c390219e79d22d7db474a8e84c89c7 (diff)
downloadale-2478d7d92552c3381b757ec432aa0c92d945af4d.zip
Merge pull request #262 from KenjiTakahashi/fix_swiftlint
Fix SwiftLint
Diffstat (limited to 'ale_linters')
-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',
\})