1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 20:41:31 +01:00

vim: update ALE rust config

This commit is contained in:
bretello 2021-12-09 00:11:19 +01:00
parent 207a46b847
commit ca7a7453a9
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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