diff options
author | a-marquez <albert.marquez.2012@gmail.com> | 2018-05-02 18:26:46 -0400 |
---|---|---|
committer | a-marquez <albert.marquez.2012@gmail.com> | 2018-05-02 18:26:46 -0400 |
commit | 14dc05f36bc14ac9e5373103d69293b888e85145 (patch) | |
tree | 7a7e490fdec6e7db65bb035ccbac1373245b2b50 /autoload | |
parent | 12d79894a4794d8a10a1177613bf5e78e56734aa (diff) | |
download | ale-14dc05f36bc14ac9e5373103d69293b888e85145.zip |
Add XO fixer to fixers registry
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fix/registry.vim | 5 |
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. |