mirror of
1
0
Fork 0
ultimate-vim/sources_non_forked/ale/autoload/ale/fixers/ktlint.vim

9 lines
257 B
VimL
Raw Normal View History

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