Merge pull request #1866 from Steap/feature/xmllint-fixer

Add support for xmllint as a fixer.
This commit is contained in:
w0rp
2018-08-28 23:36:00 +01:00
committed by GitHub
4 changed files with 86 additions and 0 deletions

View File

@@ -230,6 +230,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.