mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 08:32:24 +00:00
5035281cb9
Use stdin flag instead of temporary files. This allows ktlint to work with .editorconfig files.
11 lines
327 B
VimL
11 lines
327 B
VimL
" Author: Francis Agyapong <francisagyapong2@gmail.com>
|
|
" Description: Lint kotlin files using ktlint
|
|
|
|
call ale#linter#Define('kotlin', {
|
|
\ 'name': 'ktlint',
|
|
\ 'executable': 'ktlint',
|
|
\ 'command': function('ale#handlers#ktlint#GetCommand'),
|
|
\ 'callback': 'ale#handlers#ktlint#Handle',
|
|
\ 'output_stream': 'stderr'
|
|
\})
|