diff options
author | Charles B Johnson <mail@cbjohnson.info> | 2021-01-19 23:07:33 -0600 |
---|---|---|
committer | Charles B Johnson <mail@cbjohnson.info> | 2021-01-22 09:23:54 -0600 |
commit | 03bd494fd42181f111ee56387a1d40639b42672e (patch) | |
tree | 04a4e2a3c53ec58b0fc5bbfc0f1bc2a9017e03a0 /ale_linters/javascript | |
parent | 5fd5fa53051c3514917974d0ba57f18eb50dd37e (diff) | |
download | ale-03bd494fd42181f111ee56387a1d40639b42672e.zip |
linters/xo: prefer function shorthand
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r-- | ale_linters/javascript/xo.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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', \}) |