From 14dc05f36bc14ac9e5373103d69293b888e85145 Mon Sep 17 00:00:00 2001 From: a-marquez Date: Wed, 2 May 2018 18:26:46 -0400 Subject: [PATCH] Add XO fixer to fixers registry --- autoload/ale/fix/registry.vim | 5 +++++ 1 file changed, 5 insertions(+) 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.