summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorAlvin Chan <chaucerbao@users.noreply.github.com>2019-05-02 03:59:18 -0700
committerw0rp <w0rp@users.noreply.github.com>2019-05-02 11:59:18 +0100
commit7f0954b89ef7c43e5fb7b6490665e9814c8205b2 (patch)
tree2d3b23fe57d84e73eb8732717a4c0b3f309692af /autoload
parentc6aae3bcfcba862028180ca6ff04242c309a767a (diff)
downloadale-7f0954b89ef7c43e5fb7b6490665e9814c8205b2.zip
Add XO as a linter/fixer for TypeScript files (#2453)
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fix/registry.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim
index 4d28272a..4802ee1b 100644
--- a/autoload/ale/fix/registry.vim
+++ b/autoload/ale/fix/registry.vim
@@ -257,8 +257,8 @@ let s:default_registry = {
\ },
\ 'xo': {
\ 'function': 'ale#fixers#xo#Fix',
-\ 'suggested_filetypes': ['javascript'],
-\ 'description': 'Fix JavaScript files using xo --fix.',
+\ 'suggested_filetypes': ['javascript', 'typescript'],
+\ 'description': 'Fix JavaScript/TypeScript files using xo --fix.',
\ },
\ 'qmlfmt': {
\ 'function': 'ale#fixers#qmlfmt#Fix',