summaryrefslogtreecommitdiff
path: root/ale_linters/javascript/xo.vim
diff options
context:
space:
mode:
authorCharles B Johnson <mail@cbjohnson.info>2021-01-19 22:16:10 -0600
committerCharles B Johnson <mail@cbjohnson.info>2021-01-22 09:23:54 -0600
commit4edfac4db64debcfd33d894f169d0c1dc6dc48a4 (patch)
treec15dfcefd85568d8066d194cfe7818ef253eada6 /ale_linters/javascript/xo.vim
parent23ff19a162aadb048f3d5b2d4a4aa9cf3ec58a52 (diff)
downloadale-4edfac4db64debcfd33d894f169d0c1dc6dc48a4.zip
xo: inline filetype handling
Diffstat (limited to 'ale_linters/javascript/xo.vim')
-rw-r--r--ale_linters/javascript/xo.vim4
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',
\})