Rust config for ALE
This commit is contained in:
parent
d8af97f8a2
commit
6c94eccc1f
1 changed files with 6 additions and 0 deletions
|
|
@ -171,6 +171,9 @@ let g:ale_linters = {
|
||||||
\ 'flake8',
|
\ 'flake8',
|
||||||
\ 'mypy',
|
\ 'mypy',
|
||||||
\ ],
|
\ ],
|
||||||
|
\ 'rust': [
|
||||||
|
\ 'cargo',
|
||||||
|
\ ],
|
||||||
\ 'sh': [
|
\ 'sh': [
|
||||||
\ 'shellcheck',
|
\ 'shellcheck',
|
||||||
\ ],
|
\ ],
|
||||||
|
|
@ -186,6 +189,9 @@ let g:ale_fixers = {
|
||||||
\ 'python': [
|
\ 'python': [
|
||||||
\ 'black',
|
\ 'black',
|
||||||
\ ],
|
\ ],
|
||||||
|
\ 'rust': [
|
||||||
|
\ 'rustfmt',
|
||||||
|
\ ],
|
||||||
\}
|
\}
|
||||||
nmap <silent> ;n <Plug>(ale_next_wrap)
|
nmap <silent> ;n <Plug>(ale_next_wrap)
|
||||||
nmap <silent> ;N <Plug>(ale_previous_wrap)
|
nmap <silent> ;N <Plug>(ale_previous_wrap)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue