Add jq as a JSON fixer

This commit is contained in:
Rafael Rinaldi authored and w0rp committed 2018-01-24 10:12:29 +00:00
1 parent 038789f0ed
commit d562d53102
5 files changed
+53 -2

No files matched your search

+5
View File
@@ -159,6 +159,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['java'],
\ 'description': 'Fix Java files with google-java-format.',
\ },
\ 'jq': {
\ 'function': 'ale#fixers#jq#Fix',
\ 'suggested_filetypes': ['json'],
\ 'description': 'Fix JSON files with jq.',
\ },
\}
" Reset the function registry to the default entries.