add rustfmt fixer

This commit is contained in:
Kelly Fox
2017-10-21 12:31:49 -05:00
parent 3878be9977
commit 35031a0b8a
7 changed files with 76 additions and 2 deletions
+5
View File
@@ -107,6 +107,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['typescript'],
\ 'description': 'Fix typescript files with tslint --fix.',
\ },
\ 'rustfmt': {
\ 'function': 'ale#fixers#rustfmt#Fix',
\ 'suggested_filetypes': ['rust'],
\ 'description': 'Fix Rust files with Rustfmt.',
\ },
\}
" Reset the function registry to the default entries.