summaryrefslogtreecommitdiff
path: root/ale_linters/typescript
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/typescript
parent23ff19a162aadb048f3d5b2d4a4aa9cf3ec58a52 (diff)
downloadale-4edfac4db64debcfd33d894f169d0c1dc6dc48a4.zip
xo: inline filetype handling
Diffstat (limited to 'ale_linters/typescript')
-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 13ae0cf7..2e25ba4c 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, 'typescript')},
-\ 'command': {b -> ale#handlers#xo#GetLintCommand(b, 'typescript')},
+\ 'executable': {b -> ale#handlers#xo#GetExecutable(b)},
+\ 'command': {b -> ale#handlers#xo#GetLintCommand(b)},
\ 'callback': 'ale#handlers#xo#HandleJSON',
\})