diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-23 05:13:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-23 05:13:31 -0500 |
commit | 56bac03fa729575054d3b98d308035e6e1e687c7 (patch) | |
tree | 1482c730d0be9a89eda01fdcdd06101d788ecf00 | |
parent | e2e4c3d695aac45dfa3ca59cf921817c7fdc7d67 (diff) | |
download | conf-56bac03fa729575054d3b98d308035e6e1e687c7.tar.gz conf-56bac03fa729575054d3b98d308035e6e1e687c7.zip |
use rls instead of cargo check for error reporting
-rw-r--r-- | vim/ftplugin/rust.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index 4624861..413860c 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -1,4 +1,5 @@ -let b:ale_rust_cargo_use_check = 1 +let b:ale_linters = { 'rust': ['rls'] } +let b:ale_rust_rls_toolchain = 'stable' let b:rustfmt_autosave = 1 if filereadable("Cargo.toml") |