diff --git a/vim/.vim/after/ftplugin/rust.vim b/vim/.vim/after/ftplugin/rust.vim index 2e0bcd5..96227e8 100644 --- a/vim/.vim/after/ftplugin/rust.vim +++ b/vim/.vim/after/ftplugin/rust.vim @@ -8,10 +8,11 @@ let g:ale_completion_enabled = 1 let g:ale_completion_autoimport = 1 let g:ale_sign_column_always = 1 let g:ale_fix_on_save = 1 +" let g:ale_fixers = { 'rust': ['rustfmt', 'trim_whitespace', 'remove_trailing_lines'] } " The following lines are needed to provide compatibility between " rust-analyzer and ALE. When this is not included ALE omnifunc completion " locks up completely at autocomplete -let g:ale_fixers = { 'rust': ['rustfmt', 'trim_whitespace', 'remove_trailing_lines'] } + let g:ale_rust_rls_executable = 'rust-analyzer' let g:ale_rust_rls_toolchain = ''