summaryrefslogtreecommitdiff
path: root/ale_linters/rst
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/rst')
-rw-r--r--ale_linters/rst/rstcheck.vim2
-rw-r--r--ale_linters/rst/textlint.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/rst/rstcheck.vim b/ale_linters/rst/rstcheck.vim
index 8504738b..39e11d6e 100644
--- a/ale_linters/rst/rstcheck.vim
+++ b/ale_linters/rst/rstcheck.vim
@@ -32,7 +32,7 @@ endfunction
call ale#linter#Define('rst', {
\ 'name': 'rstcheck',
\ 'executable': 'rstcheck',
-\ 'command_callback': 'ale_linters#rst#rstcheck#GetCommand',
+\ 'command': function('ale_linters#rst#rstcheck#GetCommand'),
\ 'callback': 'ale_linters#rst#rstcheck#Handle',
\ 'output_stream': 'both',
\})
diff --git a/ale_linters/rst/textlint.vim b/ale_linters/rst/textlint.vim
index a14411cf..56dd8db8 100644
--- a/ale_linters/rst/textlint.vim
+++ b/ale_linters/rst/textlint.vim
@@ -3,7 +3,7 @@
call ale#linter#Define('rst', {
\ 'name': 'textlint',
-\ 'executable_callback': 'ale#handlers#textlint#GetExecutable',
-\ 'command_callback': 'ale#handlers#textlint#GetCommand',
+\ 'executable': function('ale#handlers#textlint#GetExecutable'),
+\ 'command': function('ale#handlers#textlint#GetCommand'),
\ 'callback': 'ale#handlers#textlint#HandleTextlintOutput',
\})