Fix SwiftLint
1. Should be defined for 'swift' files, not 'swiftlint'. 2. Use `--use-stdin` option instead of the stdin-wrapper.
This commit is contained in:
		
							parent
							
								
									41686980fd
								
							
						
					
					
						commit
						62b492c727
					
				| @ -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', | ||||
| \}) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 KenjiTakahashi
						KenjiTakahashi