Add support for xmllint as a fixer.

This commit is contained in:
Cyril Roelandt
2018-08-28 04:28:43 +02:00
parent 3c85c7ef65
commit cc5ad6491f
4 changed files with 86 additions and 0 deletions

View File

@@ -225,6 +225,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['dart'],
\ 'description': 'Fix Dart files with dartfmt.',
\ },
\ 'xmllint': {
\ 'function': 'ale#fixers#xmllint#Fix',
\ 'suggested_filetypes': ['xml'],
\ 'description': 'Fix XML files with xmllint.',
\ },
\}
" Reset the function registry to the default entries.