summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/ale/fix/registry.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim
index 7e45e6ad..7b5fdb8e 100644
--- a/autoload/ale/fix/registry.vim
+++ b/autoload/ale/fix/registry.vim
@@ -190,6 +190,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['perl'],
\ 'description': 'Fix Perl files with perltidy.',
\ },
+\ 'xo': {
+\ 'function': 'ale#fixers#xo#Fix',
+\ 'suggested_filetypes': ['javascript'],
+\ 'description': 'Fix JavaScript files using xo --fix.',
+\ },
\}
" Reset the function registry to the default entries.