summaryrefslogtreecommitdiff
path: root/ale_linters/kotlin/ktlint.vim
blob: b8920aa73635ffd2f7bc7d3e3b7fb36ffa45c480 (plain)
1
2
3
4
5
6
7
8
9
10
" 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
\})