summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authora-marquez <albert.marquez.2012@gmail.com>2018-05-02 18:26:46 -0400
committera-marquez <albert.marquez.2012@gmail.com>2018-05-02 18:26:46 -0400
commit14dc05f36bc14ac9e5373103d69293b888e85145 (patch)
tree7a7e490fdec6e7db65bb035ccbac1373245b2b50 /autoload
parent12d79894a4794d8a10a1177613bf5e78e56734aa (diff)
downloadale-14dc05f36bc14ac9e5373103d69293b888e85145.zip
Add XO fixer to fixers registry
Diffstat (limited to 'autoload')
-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.