Further ALE config

This commit is contained in:
Rob Watson 2020-12-18 10:10:57 +01:00
parent 2c5d0d78ce
commit f13c93f025
1 changed files with 6 additions and 2 deletions

8
vimrc
View File

@ -56,8 +56,9 @@ map <right> <nop>
nnoremap <Leader>p `[v`]
nnoremap Q @@
" Skip to next linter problems:
nmap <silent> <leader>an :ALENext<cr>
nmap <silent> <leader>ap :ALEPrevious<cr>
nmap <silent> <leader>an :ALENextWrap<cr>
nmap <silent> <leader>ap :ALEPreviousWrap<cr>
nmap <silent> <leader>ad :ALEDetail<cr>
" Markdown configuration:
autocmd FileType markdown setlocal wrap linebreak
@ -109,3 +110,6 @@ let g:ale_rust_cargo_use_clippy = 0
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
let g:ale_command_wrapper = 'nice -n5'
let g:ale_completion_enabled = 1
let g:ale_close_preview_on_insert = 1
let g:ale_hover_to_preview = 1
let g:ale_sign_column_always = 1