2019-03-11 16:39:30 -04:00
|
|
|
" Author: Michael Phillips <michaeljoelphillips@gmail.com>
|
|
|
|
" Description: Fix Kotlin files with ktlint.
|
|
|
|
|
|
|
|
function! ale#fixers#ktlint#Fix(buffer) abort
|
|
|
|
return {
|
2020-12-04 16:15:32 -05:00
|
|
|
\ 'command': ale#handlers#ktlint#GetCommand(a:buffer) . ' --format'
|
2019-03-11 16:39:30 -04:00
|
|
|
\}
|
|
|
|
endfunction
|