summaryrefslogtreecommitdiff
path: root/ale_linters/graphql
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/graphql')
-rw-r--r--ale_linters/graphql/eslint.vim4
-rw-r--r--ale_linters/graphql/gqlint.vim2
2 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/graphql/eslint.vim b/ale_linters/graphql/eslint.vim
index dfcbf9d9..654b8c17 100644
--- a/ale_linters/graphql/eslint.vim
+++ b/ale_linters/graphql/eslint.vim
@@ -3,7 +3,7 @@
call ale#linter#Define('graphql', {
\ 'name': 'eslint',
-\ 'executable_callback': 'ale#handlers#eslint#GetExecutable',
-\ 'command_callback': 'ale#handlers#eslint#GetCommand',
+\ 'executable': function('ale#handlers#eslint#GetExecutable'),
+\ 'command': function('ale#handlers#eslint#GetCommand'),
\ 'callback': 'ale#handlers#eslint#Handle',
\})
diff --git a/ale_linters/graphql/gqlint.vim b/ale_linters/graphql/gqlint.vim
index e45bf4c8..d5029de1 100644
--- a/ale_linters/graphql/gqlint.vim
+++ b/ale_linters/graphql/gqlint.vim
@@ -10,6 +10,6 @@ endfunction
call ale#linter#Define('graphql', {
\ 'name': 'gqlint',
\ 'executable': 'gqlint',
-\ 'command_callback': 'ale_linters#graphql#gqlint#GetCommand',
+\ 'command': function('ale_linters#graphql#gqlint#GetCommand'),
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})