summaryrefslogtreecommitdiff
path: root/ale_linters/kotlin/ktlint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/kotlin/ktlint.vim')
-rw-r--r--ale_linters/kotlin/ktlint.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/kotlin/ktlint.vim b/ale_linters/kotlin/ktlint.vim
index b8920aa7..f0384005 100644
--- a/ale_linters/kotlin/ktlint.vim
+++ b/ale_linters/kotlin/ktlint.vim
@@ -4,7 +4,7 @@
call ale#linter#Define('kotlin', {
\ 'name': 'ktlint',
\ 'executable': 'ktlint',
-\ 'command_callback': 'ale#handlers#ktlint#GetCommand',
+\ 'command': function('ale#handlers#ktlint#GetCommand'),
\ 'callback': 'ale#handlers#ktlint#Handle',
\ 'lint_file': 1
\})