ale/ale_linters/kotlin/ktlint.vim
2019-01-20 19:39:47 -06:00

11 lines
315 B
VimL

" Author: Francis Agyapong <francisagyapong2@gmail.com>
" Description: Lint kotlin files using ktlint
call ale#linter#Define('kotlin', {
\ 'name': 'ktlint',
\ 'executable': 'ktlint',
\ 'command_callback': 'ale#handlers#ktlint#GetCommand',
\ 'callback': 'ale#handlers#ktlint#Handle',
\ 'lint_file': 1
\})