mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
Center the line within the viewport after a jump
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user