configs/home/.config/nvim/ale.vim

17 lines
342 B
VimL
Raw Normal View History

2023-07-04 15:42:14 +02:00
" navigate between errors quickly
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)
2023-07-04 16:42:59 +02:00
2023-07-04 15:42:14 +02:00
let g:ale_use_neovim_diagnostics_api = 1
2023-07-04 16:42:59 +02:00
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'rust': ['rustfmt'],
\}
let g:ale_linters = {
\ 'rust': ['analyzer', 'cspell', 'cargo'],
\}