From 03bd494fd42181f111ee56387a1d40639b42672e Mon Sep 17 00:00:00 2001 From: Charles B Johnson Date: Tue, 19 Jan 2021 23:07:33 -0600 Subject: linters/xo: prefer function shorthand --- ale_linters/javascript/xo.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/javascript') diff --git a/ale_linters/javascript/xo.vim b/ale_linters/javascript/xo.vim index 9cc1dc69..5e04ad5c 100644 --- a/ale_linters/javascript/xo.vim +++ b/ale_linters/javascript/xo.vim @@ -3,7 +3,7 @@ call ale#linter#Define('javascript', { \ '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', \}) -- cgit v1.2.3