Support fixing JSON files with fixjson

This commit is contained in:
rhysd
2018-01-24 10:36:02 +00:00
committed by w0rp
parent d562d53102
commit b28a6ddbe4
7 changed files with 118 additions and 2 deletions

View File

@@ -159,6 +159,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['java'],
\ 'description': 'Fix Java files with google-java-format.',
\ },
\ 'fixjson': {
\ 'function': 'ale#fixers#fixjson#Fix',
\ 'suggested_filetypes': ['json'],
\ 'description': 'Fix JSON files with fixjson.',
\ },
\ 'jq': {
\ 'function': 'ale#fixers#jq#Fix',
\ 'suggested_filetypes': ['json'],