diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-06-26 21:57:37 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-06-26 21:57:37 -0400 |
commit | 9d02dd87dff9fe17b5ab1f458dc2bc3a37ad30e1 (patch) | |
tree | 794ad30bff3533ebf437087fd8ff110e14556caf | |
parent | 205ae84489baf8db712f503091aaeea8203a5741 (diff) | |
download | conf-9d02dd87dff9fe17b5ab1f458dc2bc3a37ad30e1.tar.gz conf-9d02dd87dff9fe17b5ab1f458dc2bc3a37ad30e1.zip |
make ale use clippy for linting
-rw-r--r-- | vim/ftplugin/rust.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index 9ef53db..2e527e8 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -1,5 +1,6 @@ let b:ale_linters = { 'rust': ['rls'] } let b:ale_rust_rls_toolchain = 'stable' +let b:ale_rust_rls_config = { 'rust': { 'clippy_preference': 'on' } } let b:ale_fixers = { 'rust': ['rustfmt'] } let b:ale_fix_on_save = 1 |