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:
parent
207a46b847
commit
ca7a7453a9
|
@ -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_clang_options = '-std=c++17 -Wall -Wpedantic'
|
||||||
" let g:ale_cpp_gcc_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 = {
|
let g:ale_linters = {
|
||||||
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
|
\ 'bash': ['bash-language-server', 'bashlint', "shellcheck"],
|
||||||
|
@ -40,7 +40,7 @@ let g:ale_linters = {
|
||||||
\ 'cpp': ['clangd'],
|
\ 'cpp': ['clangd'],
|
||||||
\ 'python': ['pylsp', 'pylint', 'bandit', "mypy"],
|
\ 'python': ['pylsp', 'pylint', 'bandit', "mypy"],
|
||||||
\ 'go': ['gopls', 'gobuild'],
|
\ 'go': ['gopls', 'gobuild'],
|
||||||
\ 'rust': ['analyzer', 'cargo', 'rls'],
|
\ 'rust': ['analyzer'],
|
||||||
\ 'yaml': ['yamllint'],
|
\ 'yaml': ['yamllint'],
|
||||||
\ 'javascript': ["yarn lint", "eslint", "vls"]
|
\ 'javascript': ["yarn lint", "eslint", "vls"]
|
||||||
\}
|
\}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user