From ca7a7453a9daefb0bdf2c0659375c77853e58d7c Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 9 Dec 2021 00:11:19 +0100 Subject: [PATCH] vim: update ALE rust config --- vim/plugins_config.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/plugins_config.vim b/vim/plugins_config.vim index 68f4e7c..a5fa716 100644 --- a/vim/plugins_config.vim +++ b/vim/plugins_config.vim @@ -31,7 +31,7 @@ let g:ale_python_mypy_options = "--ignore-missing-imports" " let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic' " let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic' -let g:ale_rust_rustfmt_options = '--edition=2018' +let g:ale_rust_cargo_use_clippy = 1 let g:ale_linters = { \ 'bash': ['bash-language-server', 'bashlint', "shellcheck"], @@ -40,7 +40,7 @@ let g:ale_linters = { \ 'cpp': ['clangd'], \ 'python': ['pylsp', 'pylint', 'bandit', "mypy"], \ 'go': ['gopls', 'gobuild'], - \ 'rust': ['analyzer', 'cargo', 'rls'], + \ 'rust': ['analyzer'], \ 'yaml': ['yamllint'], \ 'javascript': ["yarn lint", "eslint", "vls"] \}