From 7ce481c8f6e58152dfa5934e60a99e56bf785f1d Mon Sep 17 00:00:00 2001 From: Alvin Chan Date: Tue, 5 Feb 2019 16:27:13 -0800 Subject: [PATCH] Center the line within the viewport after a jump --- autoload/ale/util.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim index 47e22070..a12bcac2 100644 --- a/autoload/ale/util.vim +++ b/autoload/ale/util.vim @@ -112,6 +112,7 @@ function! ale#util#Open(filename, line, column, options) abort call cursor(a:line, a:column) redraw! + normal zz endfunction let g:ale#util#error_priority = 5