mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Add XO fixer to fixers registry
This commit is contained in:
@@ -190,6 +190,11 @@ let s:default_registry = {
|
|||||||
\ 'suggested_filetypes': ['perl'],
|
\ 'suggested_filetypes': ['perl'],
|
||||||
\ 'description': 'Fix Perl files with perltidy.',
|
\ '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.
|
" Reset the function registry to the default entries.
|
||||||
|
|||||||
Reference in New Issue
Block a user