Add XO fixer to fixers registry

This commit is contained in:
a-marquez 2018-05-02 18:26:46 -04:00
parent 12d79894a4
commit 14dc05f36b

View File

@ -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.