From f13c93f025d80b5366351941f4916fa188dd6792 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Fri, 18 Dec 2020 10:10:57 +0100 Subject: [PATCH] Further ALE config --- vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index f43042b..539abb5 100644 --- a/vimrc +++ b/vimrc @@ -56,8 +56,9 @@ map nnoremap p `[v`] nnoremap Q @@ " Skip to next linter problems: -nmap an :ALENext -nmap ap :ALEPrevious +nmap an :ALENextWrap +nmap ap :ALEPreviousWrap +nmap ad :ALEDetail " 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