diff options
author | Charles B Johnson <mail@cbjohnson.info> | 2021-01-19 22:16:10 -0600 |
---|---|---|
committer | Charles B Johnson <mail@cbjohnson.info> | 2021-01-22 09:23:54 -0600 |
commit | 4edfac4db64debcfd33d894f169d0c1dc6dc48a4 (patch) | |
tree | c15dfcefd85568d8066d194cfe7818ef253eada6 /ale_linters/javascript/xo.vim | |
parent | 23ff19a162aadb048f3d5b2d4a4aa9cf3ec58a52 (diff) | |
download | ale-4edfac4db64debcfd33d894f169d0c1dc6dc48a4.zip |
xo: inline filetype handling
Diffstat (limited to 'ale_linters/javascript/xo.vim')
-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 5b206df8..9cc1dc69 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, 'javascript')}, -\ 'command': {b -> ale#handlers#xo#GetLintCommand(b, 'javascript')}, +\ 'executable': {b -> ale#handlers#xo#GetExecutable(b)}, +\ 'command': {b -> ale#handlers#xo#GetLintCommand(b)}, \ 'callback': 'ale#handlers#xo#HandleJSON', \}) |