Merge pull request #1025 from kfox/add-rustfmt-fixer

add rustfmt fixer
This commit is contained in:
w0rp
2017-10-24 22:20:03 +01:00
committed by GitHub
7 changed files with 76 additions and 2 deletions
+5
View File
@@ -112,6 +112,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.