2018-03-31 10:55:20 -04:00
|
|
|
" Author: Francis Agyapong <francisagyapong2@gmail.com>
|
|
|
|
" Description: Lint kotlin files using ktlint
|
|
|
|
|
|
|
|
call ale#linter#Define('kotlin', {
|
|
|
|
\ 'name': 'ktlint',
|
|
|
|
\ 'executable': 'ktlint',
|
2019-03-08 06:04:56 -05:00
|
|
|
\ 'command': function('ale#handlers#ktlint#GetCommand'),
|
|
|
|
\ 'callback': 'ale#handlers#ktlint#Handle',
|
2020-12-04 16:15:32 -05:00
|
|
|
\ 'output_stream': 'stderr'
|
2018-03-31 10:55:20 -04:00
|
|
|
\})
|