This commit is contained in:
gurkenhabicht 2023-11-12 20:06:51 +01:00
parent e9a89ded25
commit f8e7701d68
1 changed files with 2 additions and 1 deletions

View File

@ -8,10 +8,11 @@ let g:ale_completion_enabled = 1
let g:ale_completion_autoimport = 1 let g:ale_completion_autoimport = 1
let g:ale_sign_column_always = 1 let g:ale_sign_column_always = 1
let g:ale_fix_on_save = 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 " The following lines are needed to provide compatibility between
" rust-analyzer and ALE. When this is not included ALE omnifunc completion " rust-analyzer and ALE. When this is not included ALE omnifunc completion
" locks up completely at autocomplete " 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_executable = 'rust-analyzer'
let g:ale_rust_rls_toolchain = '' let g:ale_rust_rls_toolchain = ''