vim: update ALE rust config

pull/6/head
bretello 2021-12-09 00:11:19 +01:00
parent 207a46b847
commit ca7a7453a9
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 2 deletions

View File

@ -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"]
\}