Merge pull request #262 from KenjiTakahashi/fix_swiftlint

Fix SwiftLint
This commit is contained in:
w0rp 2017-01-19 13:23:46 +00:00 committed by GitHub
commit 2478d7d925
1 changed files with 2 additions and 2 deletions

View File

@ -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',
\})