summaryrefslogtreecommitdiff
path: root/ale_linters/typescript/xo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/typescript/xo.vim')
-rw-r--r--ale_linters/typescript/xo.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/typescript/xo.vim b/ale_linters/typescript/xo.vim
index 2e25ba4c..6f4ee50c 100644
--- a/ale_linters/typescript/xo.vim
+++ b/ale_linters/typescript/xo.vim
@@ -1,6 +1,6 @@
call ale#linter#Define('typescript', {
\ 'name': 'xo',
-\ 'executable': {b -> ale#handlers#xo#GetExecutable(b)},
-\ 'command': {b -> ale#handlers#xo#GetLintCommand(b)},
+\ 'executable': function('ale#handlers#xo#GetExecutable'),
+\ 'command': function('ale#handlers#xo#GetLintCommand'),
\ 'callback': 'ale#handlers#xo#HandleJSON',
\})