summaryrefslogtreecommitdiff
path: root/ale_linters/java/pmd.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/java/pmd.vim')
-rw-r--r--ale_linters/java/pmd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/java/pmd.vim b/ale_linters/java/pmd.vim
index b530ad09..a1f4c93c 100644
--- a/ale_linters/java/pmd.vim
+++ b/ale_linters/java/pmd.vim
@@ -31,6 +31,6 @@ endif
call ale#linter#Define('java', {
\ 'name': 'pmd',
\ 'executable': 'pmd',
-\ 'command_callback': 'ale_linters#java#pmd#GetCommand',
+\ 'command': function('ale_linters#java#pmd#GetCommand'),
\ 'callback': 'ale_linters#java#pmd#Handle',
\})