add phpcbf fixer

This commit is contained in:
tmn-o3
2017-08-20 05:47:21 +00:00
parent e5d0a17694
commit 5a9a365aed
9 changed files with 118 additions and 2 deletions

View File

@@ -77,6 +77,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['swift'],
\ 'description': 'Apply SwiftFormat to a file.',
\ },
\ 'phpcbf': {
\ 'function': 'ale#fixers#phpcbf#Fix',
\ 'suggested_filetypes': ['php'],
\ 'description': 'Fix PHP files with phpcbf.',
\ },
\}
" Reset the function registry to the default entries.