mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
vim: update ale config (rust+pylint)
This commit is contained in:
parent
5f84402142
commit
6cd1f5e07a
|
@ -25,7 +25,7 @@ let g:ale_fixers = {
|
||||||
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
|
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
|
||||||
|
|
||||||
let g:ale_python_bandit_options = "-c banditrc"
|
let g:ale_python_bandit_options = "-c banditrc"
|
||||||
let g:ale_python_pylint_options = "--disable=W0511"
|
let g:ale_python_pylint_options = "-j0 --disable=W0511"
|
||||||
" 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'
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ let g:ale_linters = {
|
||||||
\ 'cpp': ['clangd'],
|
\ 'cpp': ['clangd'],
|
||||||
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
|
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
|
||||||
\ 'go': ['gopls', 'gobuild'],
|
\ 'go': ['gopls', 'gobuild'],
|
||||||
\ 'rust': ['analyzer', 'rustc'],
|
\ 'rust': ['analyzer', 'cargo', 'rls'],
|
||||||
\ 'yaml': ['yamllint'],
|
\ 'yaml': ['yamllint'],
|
||||||
\ 'javascript': ["yarn lint", "eslint", "vls"]
|
\ 'javascript': ["yarn lint", "eslint", "vls"]
|
||||||
\}
|
\}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user