3 ms·
Sure, install w0rp/ale using your favorite plugin manager, install rustup and run: rustup component add rls-preview rust-analysis rust-src --toolchain nightl
by ilovecaching 8y ago
Sure, install w0rp/ale using your favorite plugin manager, install rustup and run:
rustup component add rls-preview rust-analysis rust-src --toolchain nightly
then add this to .vim/ftplugin/rust.vim:
let b:ale_linters = {'rust': ['rls','cargo','rustc']}
let g:ale_fixers = {'rust': ['rustfmt']}
let g:ale_completion_enabled = 1
- imc 8y agoperfect, thanks!