1
0
Fork 0

Rust config for ALE

This commit is contained in:
Jeremy Kaplan 2018-11-03 12:58:27 -07:00
commit 6c94eccc1f

View file

@ -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)