e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
8 lines
257 B
VimL
8 lines
257 B
VimL
" Author: Michael Phillips <michaeljoelphillips@gmail.com>
|
|
" Description: Fix Kotlin files with ktlint.
|
|
|
|
function! ale#fixers#ktlint#Fix(buffer) abort
|
|
return {
|
|
\ 'command': ale#handlers#ktlint#GetCommand(a:buffer) . ' --format'
|
|
\}
|
|
endfunction
|